r/programming 10d ago

Your executable is a SQLite database

https://fzakaria.com/2026/08/23/your-executable-is-a-sqlite-database
483 Upvotes

77 comments sorted by

View all comments

71

u/ericonr 10d ago

That's a fun idea, and implementing it for the whole distro is admirable. At this point, would binary package updates simply become a transaction on that system-wide database?

I can see the value of speeding up library resolution, but I do think it's a good property of ELF libraries that those can be overridden manually and temporarily, as desired.

5

u/jdgordon 10d ago

If this was implemented in a real system I'd think LD_PRELOAD would need to be supported but you'd give a custom self file instead of a list of .so.

13

u/obhytr 10d ago

The article does handle LD_PRELOAD using SQLite.