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@typemi.me
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Never 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.