Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Microsoft Visual C slower than Gnu C ?

Author: Robert Hyatt

Date: 21:04:33 02/27/98

Go up one level in this thread


On February 28, 1998 at 00:01:06, Christophe Theron wrote:

>Hi!
>
>I'm about to commit suicide.
>
>I worked hard to port Tiger from Gnu C (free compiler) to Microsoft
>Visual C++ 4.0.
>
>Everybody told me: "go on, you're going to get a huge speedup".
>
>Well... What I get is a 10% SLOWDOWN!!! All speed optimizations turned
>ON. And the fastest code is achieved when I select 486 instead of
>Pentium!
>
>Several possible explanations:
>1) I should upgrade to a better version of MSVC...

absolutely.  Get MSVC version 5.0.  The code optimizer is far better
and knows about the pentium architecture.  4.0 does not so far as I
know.

>2) I am calling a fonction that is very time consuming under MSVC, and
>is cheap under GnuC...

doubtful.  msvc 5 makes crafty about 10% faster than even the best
pentium
compiler group version of gcc.  and that is without using the assembly
code
we use with gcc...


>3) Microsoft wants to see me dead. I'm suspecting something like that
>since the first day I installed W95. And crashed my hard disk.
>
>If anybody has stories to tell about porting to this compiler...
>Thanks... Maybe you're going to save a sinner's life...
>
>
>    Christophe



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.