# Cosmopolitan libc

- Page: https://shared.btbytes.com/p/cosmopolitan-libc
- Date: 2022-10-24
- Tags: library, c

[Cosmopolitan Libc: build-once run-anywhere C library](https://justine.lol/cosmopolitan/) 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.

## Articles

* [Debugging C  with Cosmopolitan](https://ahgamut.github.io/2022/10/23/debugging-c-with-cosmo/)
