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.
cyps ( @cyps@typemi.me ) 6•2 years agoNever heard of this, granted I’ve never looked for something like it either. Sounds very interesting and seems mature albeit with a few platform specific catch’s in the readme.
Anyone use this before? Thinking about checking it out for fun. I don’t really have use for it myself but I am interested in the implementation.
Jett ( @Jett@lemmy.perthchat.org ) 5•2 years agoFrom the same developer, using this library: http://redbean.dev