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

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Sat May 22 20:33:03 UTC 2021


On Saturday, 22 May 2021 at 20:18:58 UTC, IGotD- wrote:
> C library API is an ISO C standard, POSIX is another standard 
> which Windows doesn't natively support.

Alright, my mistake then. I thought they had a POSIX layer.. My 
windows machine has Windows XP :-D.

> By today's standard the C library API is ancient and doesn't 
> provide an asynchronous API for example. Win32 and POSIX (late 
> to the game) have both an asynchronous APIs.

It would be cool to have something directly built on Linux 
syscalls... Not sure if it is more useful, but sound cool :-D




More information about the Digitalmars-d mailing list