Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ms vc6 vs borlands c++ pro for crafty

Author: Bas Hamstra

Date: 08:41:49 09/18/99

Go up one level in this thread


On September 18, 1999 at 09:55:41, Robert Hyatt wrote:

>On September 18, 1999 at 05:17:00, Hristo wrote:
>
>>On September 18, 1999 at 04:30:05, Pauli Misikangas wrote:
>>
>>>On September 17, 1999 at 22:19:41, Robert Hyatt wrote:
>>>
>>>>On September 17, 1999 at 18:10:11, ERIQ wrote:
>>>>
>>>>>I was wondering which compiler would be better for compiling crafty and
>>>>>other chess related programs. Dr.Hyatt already said vc6 was faster than
>>>>>gcc but when I went to the store I noticed the borland c++ pro. So please
>>>>>help with this as I would like to learn C++ better than I do.
>>>>
>>>>
>>>>I don't think you will find a compiler that produces better code than
>>>>MSVC.  Borland will compile faster, but the code will run slower...
>>>
>>>How much slower?
>>>
>>>Pauli Misikangas
>>
>>I was testing this about a year ago an MSVC++ produced about %20 faster
>>executables. Almost all compilers produce faster code than Borland!
>>Well ... I've tested Symantec, Watcom, MSVC++ ... I don't know about
>>IBM VisualAge, however I bet it is faster. Don't know about Intels own
>>compiler, but this one might produce the fastest code of them all.
>>I use to like Borland ... long time ago .. :))
>>
>>regards.
>>hristo
>
>
>Borland got started when MSVC was 500 bucks, and turbo-whatever was in the
>50 dollar range.
>
>one point is that the last time anyone reported to me, borland did not support
>long long or __int64.  If it doesn't you can forget about compiling crafty
>of course...

It does. At least BCB (C++ Builder, truly visual) does, which has the Borland
C++ compiler as backend. It is a little slower than VC and has no profiler. For
the rest it is absolutely wonderfull. I love it. If only they had a profiler...

In comparison with DJGPP it is overall a little slower, though I have had
programs that actually runned faster. But when it comes to C++ debugging...boy
it is perfect. Compared to Borland GNU is in the stoneage. Click on an object
and a window pops up, with all its contents and values (even complete
multidimensional arrays!). Click on a "nested" object and you can see it all to
the deepest level with a few clicks. You can even execute inlined functions,
like inspect Move.ToAsc() at debug time.

I use DJGPP only for optimizing and compiling to a faster exe (at least most of
the time faster, not always).


Regards,
Bas Hamstra.











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.