[Proposal] Switch to the Universal CRT on Windows.

Guillaume Piolat first.name at gmail.com
Thu Jul 2 16:32:06 UTC 2026


On Wednesday, 1 July 2026 at 12:37:22 UTC, Dennis wrote:
>
> In my own code I avoid libc as much as I can, using 
> `CreateFileW` instead of `fopen` for example. Only a few 
> essentials like memcpy and memset remain since LDC sometimes 
> emits calls to that even when you don't write them yourself. At 
> least those are simple and deterministic: I haven't found a 
> libc yet that implements them visibly different than the rest.

I'm not sure if it's easy to implement and maintain fopen for 
many systems. At least the libc is maintained by others.
Other small challenges involves: emitting and parsing 
floating-point correctly.
And the transcendental functions, that are not especially better 
in Phobos than in libc.



More information about the Digitalmars-d mailing list