News for hackers. Stuff that matters.
Re:Cosmopolitan Third Edition by vitiral on Wednesday November 01, 2023 @04:30PM (#38104654)
IIUC there is no syscall translation, it's more like there are separate libc implementations and the correct one gets selected at program start based on the OS.
Re:Cosmopolitan Third Edition by ReactiveJelly on Wednesday November 01, 2023 @09:52PM (#38107999)
So like in-process WINE?
Re:Cosmopolitan Third Edition by kevincox on Thursday November 02, 2023 @09:40AM (#38113373)
Yes, this seems fairly accurate. In fact I think Wine supports this mode where you link Wine into a "windows program" at build time to produce a "native" Linux executable. So basically the difference is that you target a POSIX API rather than Win32 and the backend implementation is selected at runtime rather than build time. But both projects have the same idea that they will implement a particular API on multiple platforms.