Valhalla Legends Archive

Programming => General Programming => C/C++ Programming => Topic started by: Define on March 29, 2004, 12:26 PM

Poll
Question: Which Compiler do you prefer?
Option 1: Borland votes: 3
Option 2: Digital Mars votes: 1
Option 3: Intel votes: 0
Option 4: Visual C++ votes: 24
Option 5: Comeau votes: 0
Option 6: Bloodshed votes: 4
Title: Which Compiler do you prefer?
Post by: Define on March 29, 2004, 12:26 PM
State why if you wish.
Title: Re:Which Compiler do you prefer?
Post by: Yoni on March 29, 2004, 12:45 PM
Visual C++ (because it's sexy), though I'd like to try out and/or buy Comeau sometime (because VC++ is too buggy).
Title: Re:Which Compiler do you prefer?
Post by: iago on March 29, 2004, 01:12 PM
gcc/g++ - note that dev-c++ (bloodshed) isn't a compiler, it's an IDE. In fact, so is VS and probably the others.

It depends what I'm doing, though - if I'm writing a windows program I use VS.
Title: Re:Which Compiler do you prefer?
Post by: Skywing on March 29, 2004, 04:27 PM
Intel's compiler has a lot of problems (even crashing).  I'm told that it shares the same backend as Comeau, as well.
Title: Re:Which Compiler do you prefer?
Post by: Define on March 30, 2004, 12:28 AM
Quote from: iago on March 29, 2004, 01:12 PM
gcc/g++ - note that dev-c++ (bloodshed) isn't a compiler, it's an IDE. In fact, so is VS and probably the others.

It depends what I'm doing, though - if I'm writing a windows program I use VS.

Nice observation. I was hoping someone would get that. ;-)
Title: Re:Which Compiler do you prefer?
Post by: iago on March 30, 2004, 08:04 AM
Quote from: Define aka MosDef on March 30, 2004, 12:28 AM
Quote from: iago on March 29, 2004, 01:12 PM
gcc/g++ - note that dev-c++ (bloodshed) isn't a compiler, it's an IDE. In fact, so is VS and probably the others.

It depends what I'm doing, though - if I'm writing a windows program I use VS.

Nice observation. I was hoping someone would get that. ;-)

Riight, I'll bet :P
Title: Re:Which Compiler do you prefer?
Post by: Define on March 30, 2004, 11:18 AM
Hrm.. I wonder why so many prefer Visual C++?
Title: Re:Which Compiler do you prefer?
Post by: iago on March 30, 2004, 11:34 AM
Quote from: Define aka MosDef on March 30, 2004, 11:18 AM
Hrm.. I wonder why so many prefer Visual C++?

It's the most popular because it's made by M$, who hold a monopoly on pretty much everything computer related.
Title: Re:Which Compiler do you prefer?
Post by: K on March 30, 2004, 12:35 PM
I use g++ when I'm working in a unix environment.  I usually write / test all my code in Visual C++ (.NET 2003)/ cl on my windows machine.  It's supposed to be extremely ISO compliant (not that I've ever used partial templates or anything).  It's not really the compiler that I like though -- It's the IDE.  Debugging with GDB gives me all sorts of headaches, and don't get me started on you emacs/vi(m) people.  I want my code completion!
Title: Re:Which Compiler do you prefer?
Post by: iago on March 30, 2004, 01:09 PM
Quote from: K on March 30, 2004, 12:35 PM
I use g++ when I'm working in a unix environment.  I usually write / test all my code in Visual C++ (.NET 2003)/ cl on my windows machine.  It's supposed to be extremely ISO compliant (not that I've ever used partial templates or anything).  It's not really the compiler that I like though -- It's the IDE.  Debugging with GDB gives me all sorts of headaches, and don't get me started on you emacs/vi(m) people.  I want my code completion!

I don't like gdb, just because I don't understand it (yet?).  And vi is rox0r.  So there.
Title: Re:Which Compiler do you prefer?
Post by: Kp on March 30, 2004, 02:31 PM
Quote from: K on March 30, 2004, 12:35 PMI use g++ when I'm working in a unix environment.  I usually write / test all my code in Visual C++ (.NET 2003)/ cl on my windows machine.  It's supposed to be extremely ISO compliant (not that I've ever used partial templates or anything).  It's not really the compiler that I like though -- It's the IDE.  Debugging with GDB gives me all sorts of headaches, and don't get me started on you emacs/vi(m) people.  I want my code completion!

The wording of this post makes me thing you actually use the VC debugger, which is just horrible (or was when I last tried it).  For debugging programs written in VC, you're much better off using windbg (which, after 10 minutes of searching the Microsoft site, I am unable to find -- their search engine needs work!)
Title: Re:Which Compiler do you prefer?
Post by: j0k3r on March 30, 2004, 04:51 PM
Quote from: iago on March 30, 2004, 11:34 AM
Quote from: Define aka MosDef on March 30, 2004, 11:18 AM
Hrm.. I wonder why so many prefer Visual C++?

It's the most popular because it's made by M$, who hold a monopoly on pretty much everything computer related.
Actually, I just have it because it was the most popular search result for "C++" in kazaa.
HAR.
Title: Re:Which Compiler do you prefer?
Post by: Kp on March 30, 2004, 06:24 PM
Quote from: j0k3r on March 30, 2004, 04:51 PMActually, I just have it because it was the most popular search result for "C++" in kazaa.

Sure.  Who would want to warez up a freely available compiler like Minimalist GNU for Windows (http://www.mingw.org/) (MinGW)? :P
Title: Re:Which Compiler do you prefer?
Post by: Define on March 30, 2004, 07:03 PM
Not really, the monopoly of software I would have to say is cisco. *Correcting spelling mistake*
Title: Re:Which Compiler do you prefer?
Post by: Adron on March 31, 2004, 07:36 AM
Quote from: Define aka MosDef on March 30, 2004, 11:18 AM
Hrm.. I wonder why so many prefer Visual C++?


And I very much wonder why gcc, djgpp etc weren't listed. The only one listed that I've used to build 32-bit apps is VC. But I do rather often use gcc.
Title: Re:Which Compiler do you prefer?
Post by: iago on March 31, 2004, 08:13 AM
Quote from: Adron on March 31, 2004, 07:36 AM
Quote from: Define aka MosDef on March 30, 2004, 11:18 AM
Hrm.. I wonder why so many prefer Visual C++?


And I very much wonder why gcc, djgpp etc weren't listed. The only one listed that I've used to build 32-bit apps is VC. But I do rather often use gcc.

Bloodshed's IDE uses a win32 version of gcc, I'm told, so I voted for that one :)
Title: Re:Which Compiler do you prefer?
Post by: Skywing on April 01, 2004, 06:05 PM
Quote from: Kp on March 30, 2004, 02:31 PM
Quote from: K on March 30, 2004, 12:35 PMI use g++ when I'm working in a unix environment.  I usually write / test all my code in Visual C++ (.NET 2003)/ cl on my windows machine.  It's supposed to be extremely ISO compliant (not that I've ever used partial templates or anything).  It's not really the compiler that I like though -- It's the IDE.  Debugging with GDB gives me all sorts of headaches, and don't get me started on you emacs/vi(m) people.  I want my code completion!

The wording of this post makes me thing you actually use the VC debugger, which is just horrible (or was when I last tried it).  For debugging programs written in VC, you're much better off using windbg (which, after 10 minutes of searching the Microsoft site, I am unable to find -- their search engine needs work!)
http://www.microsoft.com/whdc/ddk/debugging
Title: Re:Which Compiler do you prefer?
Post by: Define on April 02, 2004, 07:50 AM
Quote from: Adron on March 31, 2004, 07:36 AM
Quote from: Define aka MosDef on March 30, 2004, 11:18 AM
Hrm.. I wonder why so many prefer Visual C++?


And I very much wonder why gcc, djgpp etc weren't listed. The only one listed that I've used to build 32-bit apps is
VC. But I do rather often use gcc.

Quote
Well I wasn't going to state all of them now. :P
Quote
Title: Re:Which Compiler do you prefer?
Post by: Adron on April 02, 2004, 09:50 AM
Quote from: Define aka MosDef on April 02, 2004, 07:50 AM
Quote from: Adron on March 31, 2004, 07:36 AM
Quote from: Define aka MosDef on March 30, 2004, 11:18 AM
Hrm.. I wonder why so many prefer Visual C++?


And I very much wonder why gcc, djgpp etc weren't listed. The only one listed that I've used to build 32-bit apps is
VC. But I do rather often use gcc.

Well I wasn't going to state all of them now. :P

Well, you could've at least stated some common ones instead of all the very uncommon ones you did list? :P
Title: Re:Which Compiler do you prefer?
Post by: Akamas on April 07, 2004, 10:28 PM
I'm in between Borland and Visual C++
Title: Re:Which Compiler do you prefer?
Post by: Eli_1 on April 07, 2004, 11:59 PM
I like Borland over VC++ because:

1.) Whenever I try to make a project and compile it, I'm usually getting a billion errors about how some kind of library is missing -- Borland lacks this anoyance.

2.) When I do happen to successfully compile something, it creates like 50 different things in the folder where my source is.

3.) VC++ takes forever to load on my computer.

[edit] Added that I was actually talking about C++
Title: Re:Which Compiler do you prefer?
Post by: j0k3r on April 08, 2004, 08:19 AM
Quote from: Eli_1 on April 07, 2004, 11:59 PM
I'm a fan of Borland for these reasons:

1.) Whenever I try to make a project and compile it, I'm usually getting a billion errors about how some kind of library is missing -- Borland lacks this anoyance.

2.) When I do happen to successfully compile something, it creates like 50 different things in the folder where my source is.

3.) VC++ takes forever to load on my computer.
Next time, state that you are talking about VC++, you said you were a Borland fan and began stating bad things.
Title: Re:Which Compiler do you prefer?
Post by: Adron on April 08, 2004, 08:30 AM
Quote from: Eli_1 on April 07, 2004, 11:59 PM
I'm a fan of Borland for these reasons:

1.) Whenever I try to make a project and compile it, I'm usually getting a billion errors about how some kind of library is missing -- Borland lacks this anoyance.

2.) When I do happen to successfully compile something, it creates like 50 different things in the folder where my source is.

3.) VC++ takes forever to load on my computer.

For number 1, if you get errors about missing libraries only on MSVC, that might mean that Borland has more libraries listed on the linker command line by default. When I used Borland, I had the same situation as with MSVC - having to add libraries for anything unusual I wanted to include. Maybe they changed that. Listing only the common libraries should improve the speed of linking your executable slightly.

For number 2, assuming we're talking about the same thing, when I use VC++, it will typically create the 50 different things in a subfolder called "Debug" or "Release". These different things are stored there so the compiler has less work to do when you change something in one file and recompile. For a large project this will produce a huge speedup when making small changes. Gcc does the same thing, and Borland used to do it when I used it. I don't understand why it wouldn't now.

There's not much to be said about 3 really. MSVC loads fast enough here, Borland loads much faster, but then the Borland I have is a much simpler development environment that simply has less things to load... Using an older version of MSVC improves speed.

Title: Re:Which Compiler do you prefer?
Post by: Nath on April 10, 2004, 12:05 PM
Hey I'm a beginner and I'm using the "Bloodshed Dev-C++," I find it fairly nice and simple to use so far, we will see how things go.