Cosmopolitan Libc makes C a build-once 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 with the best possible performance and the tiniest footprint imaginable.
I’m honestly more interested by the OS-agnostic executable than by the LLM here. How?
Here’s the answer, but I have absolutely no idea what it means…
https://github.com/jart/cosmopolitan