Hacker News
Queryable Executables
The SELF format stores an entire program inside a SQLite database and uses binfmt_misc to launch a custom interpreter that maps segment rows to the entry point, converting binary operations into SQL queries. The self-httpd proof-of-concept runs as a single file, keeping its code, assets, routes, runtime state, and visitor logs transactionally within the same SQLite file, replacing a ZIP container with a queryable database for direct SQL access to executable contents.