The future of Int128 support in D language

Siarhei Siamashka siarhei.siamashka at gmail.com
Sun Jan 8 17:25:29 UTC 2023


On Sunday, 8 January 2023 at 11:53:52 UTC, Johan wrote:
> On Sunday, 8 January 2023 at 11:51:19 UTC, Johan wrote:
>>
>> Submit PRs to LDC's Phobos.
>> https://github.com/ldc-developers/phobos
>
> Or probably LDC's druntime is better:
> https://github.com/ldc-developers/ldc/blob/master/runtime/druntime/src/core/int128.d

Thanks! That's exactly what I wanted to know.

> What's the alignment issue?

I can see that it's already workarounded here: 
https://github.com/ldc-developers/ldc/blob/498b0c79a6030a48085d384fa872ec6c5c815348/runtime/druntime/src/core/int128.d#L24-L25

Still I don't like where this is going. Because each compiler 
wants to configure its own funny mutually incompatible platform 
specific alignments for this struct and this seems to be getting 
out of hand: https://github.com/dlang/dmd/pull/14768


More information about the Digitalmars-d mailing list