Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Message-ID | <4F6D06CD.9020407@loria.fr> (permalink) |
|---|---|
| Date | 2012-03-24 00:27 +0100 |
| From | Jens Gustedt <jens.gustedt@loria.fr> |
| Newsgroups | comp.lang.c |
| Subject | Re: Clang vs. GCC: Compare & Contrast? |
| References | <20372250.150.1332525190660.JavaMail.geo-discussion-forums@pbcuk5> |
| Organization | Guest of ProXad - France |
Am 03/23/2012 06:53 PM, schrieb haziz: > Any advantages or disadvantages to using clang, as opposed to GCC, > for developing in C on Linux? In my case this would be used for > student level programs, not production, though you are free to > discuss that as well. clang's error messages are definitively better suited for students (and anybody else actually) If you want to teach them modern C, their progress on implementing C11 seems to go in different directions. gcc is getting close to have an implementation of the atomics, probably a good subject for teaching if you would be talking about threads, signal handlers and stuff like that. clang already has _Generic, so if you want to cover type generic programming, tgmath.h and alike, clang offers more. Jens
Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread
Clang vs. GCC: Compare & Contrast? haziz <hsaziz@gmail.com> - 2012-03-23 10:53 -0700 Re: Clang vs. GCC: Compare & Contrast? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-03-23 18:32 +0000 Re: Clang vs. GCC: Compare & Contrast? Kaz Kylheku <kaz@kylheku.com> - 2012-03-23 18:51 +0000 Re: Clang vs. GCC: Compare & Contrast? Jens Gustedt <jens.gustedt@loria.fr> - 2012-03-24 00:27 +0100
csiph-web