Mail Archives: djgpp/1998/01/20/08:35:20
Andy Fung wrote:
>
> Strange, since an int is 32bit, I wonder 64bit integer are not declared at
> long int instead.
To comply with the ANSI standard (actually, ANSI says longs can be >= 32
bits, but...) and keep most programs that assume long to be 32 bits from
breaking. Besides, the 80x86 architecture, which is what DJGPP targets,
is not a 64-bit architecture, so in order to use 64-bit integers the
compiler must go through some hoops that slow code down. Making a
standard data type suffer from this kind of performance loss is a very
bad idea.
--
---------------------------------------------------------------------
| John M. Aldrich | "It may be better to be a live jackal|
| aka Fighteer I | than a dead lion, but it is better |
| mailto:fighteer AT cs DOT com | still to be a live lion." |
| http://www.cs.com/fighteer | - Lazarus Long |
---------------------------------------------------------------------
- Raw text -