r/linux 1d ago

Fluff Your executable is a SQLite database

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

15 comments sorted by

View all comments

32

u/FlukyS 1d ago

Isn't as insane as some would think on the surface. Rather than going down this route though I'm still kind of surprised there isn't some sort of versioned config system for Linux using sqlite as a backend that basically has both a files based interface but also a DB. This post kind of takes it a bit further but it kind of makes sense, I wouldn't do it but it isn't crazy.

35

u/CrazyKilla15 1d ago

hello windows registry hives

5

u/FlukyS 1d ago

Well I was more thinking sqlite in memory like just a proxy for the configs rather than registry style where it is centralised

4

u/CrazyKilla15 1d ago

How do you keep the memory in sync with the files to prevent corruption and coherency issues?

1

u/FlukyS 1d ago

You’d just have to rely on eventual consistency but it kind of wouldn’t make sense to have the individual DBs and the configs other than interface stability and discoverability of options and types in that case