Re: 64 bit data types
- From: Florian Klaempfl <florian@xxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 23:12:56 +0100
Arthur Hoornweg wrote:
> Rod wrote:
>
>>> Integer (64 bit signed)
>>> Int64 (64 bit signed)
>>> Int128 (128 bit signed)
>>> DWORD (32 bit signed)
>>> Cardinal (64 bit signed)
>
>
>
> I wonder what'll happen to "longint" which is gonna be a half-integer
> anyway...
>
> But I do hope that "integer" will be implemented as Int64 or else much
> legacy code that typecasts pointers into integers will fall flat.
No, Win x64 uses a so called LLP64 data modell
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/win64/win64/abstract_data_models.asp).
It can be assumed that Delphi for 64 bit will follow this which means
that only pointers will change their size to 64 bit.
With proper compiler warnings this causes usually no problems. Even big
applications with hundred thousands of lines of code can be ported
within a few hours.
.
- Follow-Ups:
- Re: 64 bit data types
- From: Florent Ouchet
- Re: 64 bit data types
- References:
- 64 bit data types
- From: Florent Ouchet
- Re: 64 bit data types
- From: Arthur Hoornweg
- 64 bit data types
- Prev by Date: Re: Opinion: Dell 20.1
- Next by Date: Re: 64 bit data types
- Previous by thread: Re: 64 bit data types
- Next by thread: Re: 64 bit data types
- Index(es):
Relevant Pages
|