std.int128 not working with -betterC enabled
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sat Dec 23 00:44:56 UTC 2023
On 23/12/2023 11:41 AM, Matheus Catarino wrote:
> Would there be any reason not to use |core.int128|?
>
> Currently, I used it to make a TigerbeetleDB client (Zig database) in D
> (betterC).
> https://github.com/batiati/tigerbeetle-clients-benchmarks/blob/f86216834bd04e1e06bede2a2e31b64df0dc98f1/d/modules/tb_client.d#L12 <https://github.com/batiati/tigerbeetle-clients-benchmarks/blob/f86216834bd04e1e06bede2a2e31b64df0dc98f1/d/modules/tb_client.d#L12>
Yes there is.
With -betterC, it is not linked in. Therefore it will fail to link.
Note: ldc/gdc may recognize it and switch it to backend specific things
instead of using those functions, which will work.
More information about the Digitalmars-d-learn
mailing list