Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Best C Compiler?

Name: Anonymous 2009-11-02 7:46

What is THE BEST (or your favorite) C compiler?

1. gcc (GNU C Compiler)
2. pcc (Portable C Compiler)
3. tcc (Tiny C Compiler)
4. dmc (Digital Mars C compiler)
5. icc (Intel C Compiler)
6. lcc (Local/Little C Compiler)
7. other (please specify)

Explain why it is your favorite or THE BEST or why other choice(s) suck.

Name: Anonymous 2009-11-04 19:47

cl.exe - microsoft's optimizing c/c++ compiler

Name: Anonymous 2009-11-04 22:21

ghci - Good Human-Computer Interface

Name: Anonymous 2009-11-04 23:38

>>80
Now there's a compiler that produces bad code.

Name: Anonymous 2009-11-05 3:37

>>49
open64!

Name: Anonymous 2009-11-05 16:40

>>71
And what compiler do they use to build their most superior products?

Also at least open souse developers don't intentionally design [i]defective[/] products.

Name: Anonymous 2009-11-05 17:13

>>85
Right, they're defective by accident or because the developers are shit.

Name: sage 2009-11-06 4:16

sage

Name: Anonymous 2009-11-08 0:45

I was told that this example of include-guards:

/* somefile.h */

#ifndef _SOMEFILE_H_
#define _SOMEFILE_H_

/* put your declarations and stuff here as usual */

#endif


is bad because it "invades the reserved namespace for identifiers", but that it would be perfectly fine if I removed the leading underscore.

I don't quote understand how it's harmful to the namespace with the leading _, or how removing it will somehow be better.  Can someone explain?

Name: Anonymous 2009-11-08 0:46

>>1

None. Having a favorite C compiler is like having favorite cutlery for eating shit.

Name: Anonymous 2009-11-08 7:19

>>88
C symbol names automatically get one leading underscore, and two leading underscores is the namespace reserved for the compiler.

Name: Anonymous 2009-11-08 13:14

>>88
Some stupid person thought that linker exports preprocessor definitions as symbols?

Name: Anonymous 2009-11-08 13:33

>>91
0/10

Name: Anonymous 2009-11-08 14:06

>>90
Ok, makes sense, but as >>91 said, why would the pre-processor have anything to do with the symbol table?

Name: Anonymous 2009-11-08 16:02

Appendix B of K&R sez regarding the standard library

External identifiers that begin with an underscore are reserved for use by the library, as are all other identifiers that begin with an underscore and an upper-case letter or another underscore.

So the potential problem is that your header guard could conflict with an identifier in the system headers.

Name: Anonymous 2009-11-08 17:22

>>24
Typical kid who sits in the back of class calling Java slow.  Or makes sure his volume is up loud before booting up Ubantu, to make sure everyone hears the "TTARMADDAMPUP" so that they're all aware you're running a superior GNU/Linux Operating System.

COBOL dates back to 1960.  It's still in widespread use.

Name: Anonymous 2009-11-08 17:47

>>95
At least that's not as bad as the kid who forgets to turn off the system beep while using FreeBSD without a DE or window manager.

Name: Anonymous 2009-11-14 19:52

>>95
Like a Harley rider?

Name: Anonymous 2011-02-03 0:38

Name: Anonymous 2011-02-18 13:44

<-- check my doubles

Name: Anonymous 2011-02-18 17:42

<-- check 'em dubz

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List