Tuesday, July 14, 2009

What is your favorite C compiler?

I've been programming for 7 years now, and I'm finally forced to learn C. I'm wondering what you thing is the best C compiler out there.

What is your favorite C compiler?
I've been programming for 20+ years in C/C++, mainly with Borland and MS compilers. But my favorite is GCC (Gnu Compilers Collection). Borland and MS give you nice IDE's but you can use wide range of IDE's also with GCC: for *NIX you can use e.g. kdevelop or emacs. For Windows - also emacs for Windows or MinGW studio:


http://freshmeat.net/projects/mingw-devs...


Some people like DevC++ as an IDE for gcc...


In short: you have a choice :-)
Reply:The free gnu compiler gcc (http://gcc.gnu.org/) is released GPL (free open source). It is a very high quality compiler, flexible, standards based. It does not come with a development environment though some are available (emacs, for one). It also has a great debugger.





IDEs are nice, but I suggest learning to program without one. You end up understanding the language better.
Reply:For a totally integrated environment and ease of use -- no question, Visual C++ (yes, it does C as well).


For code generation (on PCs): Intel's free compiler. It makes tight, highly optimized code that doesn't need nearly as much tweaking as Microsoft's does.
Reply:I use a remote for all my programming. Just have to change the battery now and again and aim it in the right direction - works every time. Recommended.


No comments:

Post a Comment