This is a curated list of apps compiled for Cosmopolitan Libc:
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.
Redbean: single-file distributable web server
All you need to do is download the redbean.com program below, change the filename to .zip, add your content in a zip editing tool, and then change the extension back to .com.
redbean can serve 1 million+ gzip encoded responses per second on a cheap personal computer.
It embeds the Lua programming language which lets you write dynamic pages.
It embeds Sqlite 3.35.5.
All in 1.1mb. not gb. mb. 1,149,201 bytes.
features:
- HTTP v0.9
- HTTP v1.0
- HTTP v1.1
- Lua v5.4
- SQLite 3.35.5
- Pipelining
- Monitoring
- Accounting
- Content-Encoding
- Range / Content-Range
- Last-Modified / If-Modified-Since
SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world.
Direct Download from justine.lol
- Compile directions here (requires linux environment): jart/cosmopolitan#162
- SQLite Home Page
The fastest WebAssembly interpreter, and the most universal runtime.
git clone [email protected]:jart/cosmopolitan.git
cd cosmopolitan
make -j8 o//third_party/lua/lua.com
QuickJS is a small and embeddable Javascript engine. It supports the ES2020 specification including modules, asynchronous generators, proxies and BigInt.
This repo contains the source code of Python 2.7.18 customized to compile with Cosmopolitan libc. Meant for experimental purposes only.
Repo: Compiling Python2.7 with Cosmopolitan
A tweaked OCaml compiler to compile OCaml code with Cosmopolitan libc. Meant for experimental purposes only.
Repo: Esperanto, when OCaml meets Cosmopolitan Brief presentation of Esperanto