3 ms·
> targeting a lot of platforms Wouldn't a project such as this one be a perfect candidate for Cosmopolitan? > Cosmopolitan Libc makes C a build-anywhere run-a
by bambax 3y ago
> targeting a lot of platforms
Wouldn't a project such as this one be a perfect candidate for Cosmopolitan?
> Cosmopolitan Libc makes C a build-anywhere run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS on AMD64 and ARM64 with the best possible performance.
https://justine.lol/cosmopolitan/ https://justine.lol/cosmopolitan/
- rodarima 3y agoAFAIK, Cosmopolitan only works well if your program only depends on the libc. Even if you statically compile Dillo and the FLTK, you still would need a graphic Xorg server. For Linux and BSDs may work, but in macOS I think it won't, as for that platform you need the FLTK to link against macOS graphic libraries.