D design problem on platforms with <32 bit pointer width
Dukc
ajieskola at gmail.com
Fri Aug 25 17:05:19 UTC 2023
On Friday, 25 August 2023 at 17:01:38 UTC, Patrick Schluter wrote:
> On Sunday, 20 August 2023 at 19:15:13 UTC, Walter Bright wrote:
>> To be clear, my proposal would mean that size_t would be an
>> alias for ushort, and ptrdiff_t would be an alias for short.
>
> Most 16 bit machines use 32 bit sized size_t (m68k). The 16 bit
> size_t of x86 real mode is an anomaly.
Maybe. But in this thread we mean 16-bit as the pointer size. In
fact the platform I'm experimenting in is actually 8-bit with
16-bit pointers: AVR microcontroller.
More information about the Digitalmars-d
mailing list