Your executable is a SQLite database

Your executable is a SQLite database

A developer proposes replacing the ELF executable format with SQLite, arguing that ELF is already a database that reinvents primitives like indexes and string interning. The prototype, called SELF, uses SQLite's application_id to mark executables, and leverages binfmt_misc to run them. It reduces tools like strip, ldd, and readelf to SQL queries, and even implements dynamic linking via SQL. Benchmarks show a ~5ms startup overhead and near-parity in size after stripping.

ELF is a database that refuses to admit it.

More from this day

2026-08-24