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.
  • std.int128 not w... Renato via Digitalmars-d-learn
    • Re: std.int... Renato via Digitalmars-d-learn
    • Re: std.int... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: std... Renato via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
    • Re: std.int... Matheus Catarino via Digitalmars-d-learn
      • Re: std... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn

Reply via email to