compilers

what is the difference between using a compiler of high quality like visual studio and something free and opensource like codeblocks?

the code is still all the same depending on what language you are doing isnt it?
well Code::Blocks isn't a compiler, it's an IDE.

Different compilers produce different code. They optimize differently. The compiled program will behave the same way on each compiler, but the program from one compiler might be smaller/faster than the program from another compiler... or it might require different runtime libraries, etc.

In general, I've found that Microsoft's compiler (with VS) produces faster executables on Windows, but often requires additional libraries.

Whereas GCC (the compiler often used with Code::Blocks) produces slightly slower executables in Windows, but doesn't require as many (any?) additional libraries.


As for the IDEs (MSVS vs. Code::Blocks), they are totally different environments. Things like syntax highlighting, debugging features, etc are all different.

I'm a big fan of Visual Studio. It's probably the best C++ IDE I've ever used.

I use Code::Blocks now (on Ubuntu) and it's alright, but it's nowhere near up to VS IMO.
WTB better CDT plugin for Eclipse.... :s
uhmm... some people insults open source as full of bugs.. while others insults microsoft as cheater from hell..

i'm with Disch, i like VC++ but i also like codeblocks w/ mingw compiler
There's nothing wrong about a free compiler or IDE. If it's any good it's perfectly fine. In general, I'd say open source is an advantage. The main problem I can think of is retards imitating your products.
VC++ is my personal taste because I had a bad first experience with Dev (not knowing at the time that wx was available). The code is all the same so it's really a choice of interface. (Some compilers provide different options or extensions to the syntax as well, and debuggers can have a lot of differences.)
Topic archived. No new replies allowed.