leastfixedpoint

Tony's Link Log

94 links in 40 categories.

Your executable is a SQLite database.

Farid Zakaria (23 August 2026)
🔗 https://fzakaria.com/2026/08/23/your-executable-is-a-sqlite-database
#operating-systems #bcs2140 #bcs

An insane amazing hack, placing the structured information normally contained in ELF executable files into a SQLite database and then registering SQLite databases with the kernel as executables and writing a special linker/loader to instantiate a process directly from the database file.

As one wit put it on lobste.rs, “The children yearn for proper database and record primitives in their OS instead of having to have it in a library.”

Edited to add: A follow-up post extends the idea to allow programs to store their own state in their executable’s database! Single executables then serve as both program and (transactional, relational) data set.