Author: Robert Hyatt
Date: 10:03:08 11/14/02
Go up one level in this thread
On November 14, 2002 at 02:54:55, David Rasmussen wrote: >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 I happen to like Ada too. But in terms of speed, it has no particular advantage or disadvantage over C, other than it is not nearly as popular, and the compilers might not be as efficient in optimizing since the demand is not as great.
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.