Why don't we use the CRT functions under Windows?

Kagamin spam at here.lot
Mon May 24 08:49:02 UTC 2021


On Saturday, 22 May 2021 at 19:08:14 UTC, IGotD- wrote:
> Instead of trying to unify the code, OS dependent 
> implementations should be moved to separate files. Also, should 
> D rely on the C library? I would say the D should go the other 
> way and rely on the C library a little as possible.

This, even on posix the only useful stuff in libc is malloc and 
getaddrinfo. Try anything mildly useful like pipes, processes, 
threads, atomics, mutexes, sockets, async io, and you find 
yourself writing a PAL anyway.


More information about the Digitalmars-d mailing list