This seems interesting:
"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."
Cosmopolitan Libc
- the.weavster
- Addict
- Posts: 1577
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Cosmopolitan Libc
Saw this a while ago, it seems really interesting. Sadly I doubt it'll ever catch on, but it's a really cool piece of engineering.
Re: Cosmopolitan Libc
May be it works for a console hello world, but is there more complex apps (with GUI) for this ?
- the.weavster
- Addict
- Posts: 1577
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Cosmopolitan Libc
It seems much more capable than just hello world, there's a list of binaries compiled with it here which includes Python, PHP, SQLite3, ...Fred wrote: Wed Apr 16, 2025 2:47 pm May be it works for a console hello world, but is there more complex apps (with GUI) for this ?
As for GUIs I think somebody got SDL working but I think the real target is headless applications.
Re: Cosmopolitan Libc
I looked at this a few weeks ago and thought wow.
-
- Enthusiast
- Posts: 396
- Joined: Sat Feb 12, 2022 7:15 pm
Re: Cosmopolitan Libc
Interesting stuff, thanks for sharing 
