The POSIX functions are split over ucrtbase, iphlpapi, and ws2_32, as on Windows, with anything that Windows doesn't implement put in mnposix.
LOL. POSIX in ucrtbase! Those are words that I never expected to see together.
I used AI to help with the mechanical parts of porting
I feel like it won't be long before someone comes up with a crazy chimera of an OS that can run DOS, Windows, Linux, BSD, and macOS binaries. It doesn't look like AI is replacing software developers, but rather boosting them quite significantly; there seems to be a lot of activity and new projects I've seen recently from many who aren't even using AI themselves, but must be somehow being inspired by others to do more.
[–] pjmlp 2 days ago
[–] RetroTechie 1 day ago
This is the future, imho: some tiny, cross-platform, ultra-reliable kernel (like seL4), a set of shims that offer different sets of APIs (OS "personalities" if you will) to apps, an emulator, VM or binary translation layer here & there, all happily living under the same roof.
*BSD (including Linux compat layer) + Wine + some emulators like DOSBox already goes a long way. MS Windows desktop running on top of Linux isn't outside the realm of the possible either. And be sure to check Genode OS.
Fun times ahead!
[–] yjftsjthsd-h 2 days ago
TBF, the only missing part of this is that Darling isn't developed enough to run many Darwin programs; otherwise you can have that today by installing WINE+DOSBox+Darling on Linux or your pick of *BSD or illumos. (Well, running *BSD programs on other systems is a weak point, but otherwise.)
[–] maharmstone 2 days ago
There's nothing in Moxnox ucrtbase that's not also in Windows ucrtbase. open(), read(), and write() are all POSIX functions in ucrtbase.
So in those platforms you can also enjoy having private symbols by default, delayed loading on first call, and the joy of import files.