Best compilers Windows and Linux?

Discussion of chess software programming and technical issues.

Moderator: Ras

mjlef
Posts: 1494
Joined: Thu Mar 30, 2006 2:08 pm

Best compilers Windows and Linux?

Post by mjlef »

Which produces faster code in Windows: Visual C++ 2005 Express or 2008?

In linux, which compiler is considered the best? And which flavor of linux should I install (I would like a reliable, dual boot wit Windows).

Thanks!
User avatar
jshriver
Posts: 1360
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Best compilers Windows and Linux?

Post by jshriver »

I can't speak for Windows but for linux gcc is fine.

If you're willing to pay and wanted the absolute best I've found the Intel compilers to be really efficient. But in all fairness it's been a year since I really did any benchmarks or tested icc.

Hope that helps.
-Josh
Gian-Carlo Pascutto
Posts: 1260
Joined: Sat Dec 13, 2008 7:00 pm

Re: Best compilers Windows and Linux?

Post by Gian-Carlo Pascutto »

mjlef wrote:Which produces faster code in Windows: Visual C++ 2005 Express or 2008?
In my experience they are equal.
In linux, which compiler is considered the best? And which flavor of linux should I install (I would like a reliable, dual boot wit Windows).

Thanks!
Intel C is free for noncommercial usage. GCC is not bad on 64 bits but not so good on 32 bits (in my experience).

Flavor of Linux is a holy war subject. If you are a novice I would recommend (K)Ubuntu.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Best compilers Windows and Linux?

Post by bob »

mjlef wrote:Which produces faster code in Windows: Visual C++ 2005 Express or 2008?

In linux, which compiler is considered the best? And which flavor of linux should I install (I would like a reliable, dual boot wit Windows).

Thanks!
For linux, I would download the free intel c/c++ compiler. It is as good as any commercial compiler around. Oh yes. It is commercial. :) But it is free for linux users so long as you don't use it to develop and distribute a commercial application.

I use Fedora 11. Been rock solid and also easy to install.
User avatar
Desperado
Posts: 879
Joined: Mon Dec 15, 2008 11:45 am

Re: Best compilers Windows and Linux?

Post by Desperado »

Hi, found this thread and decided to add something.

VC++ Express 2008:

well i dont know if it produces very fast code for 32bit target platforms,
but slow is something different.

32 bit target apllications can be developed by default, but most people
dont know that the 64bit compiler can be used too!

Because it is not enabled by default, someone has to do
some configurations.

A good instruction can be found here:

http://jenshuebel.wordpress.com/2009/02 ... t-targets/

And before you do all configurations by hand, just download the batch
file that can be found on this site(click it and get happy :) ), and follow
the readme included.

Works fine! :wink:
User avatar
Desperado
Posts: 879
Joined: Mon Dec 15, 2008 11:45 am

Re: Best compilers Windows and Linux?

Post by Desperado »

Desperado wrote:Hi, found this thread and decided to add something.

VC++ Express 2008:

well i dont know if it produces very fast code for 32bit target platforms,
but slow is something different.

32 bit target apllications can be developed by default, but most people
dont know that the 64bit compiler can be used too!

Because it is not enabled by default, someone has to do
some configurations.

A good instruction can be found here:

http://jenshuebel.wordpress.com/2009/02 ... t-targets/

And before you do all configurations by hand, just download the batch
file that can be found on this site(click it and get happy :) ), and follow
the readme included.

Works fine! :wink:
...and of course free aquisition and free for commercial use...