Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Can a Programming Language Cause Engines to be Slow?

Author: David Rasmussen

Date: 23:54:55 11/13/02

Go up one level in this thread


On November 13, 2002 at 15:55:51, Robert Hyatt wrote:

>
>You can do that in C with bit-fields as well, but it both it and ADA are
>horribly
>slow when you fiddle with bitfields.

I (of course) know that you can do bitfields in C. But they are not as precisely
defined in C as they are in Ada. And they're not necesarily "horribly slow". It
depends on the compiler. In Ada, the specification is more precise and allows
the compiler to do an excellent job, if the compiler writers have. In C (and
C++) there are some implementation-defined behavior that makes bitfields less
useful.
Besides, Ada has more advantages over C, than this.

/David



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.