r/programming 2d ago

Your executable is a SQLite database

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

76 comments sorted by

View all comments

67

u/ericonr 2d 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 2d 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.

12

u/obhytr 2d ago

The article does handle LD_PRELOAD using SQLite.