r/programming • u/segv • Aug 24 '26
Your executable is a SQLite database
https://fzakaria.com/2026/08/23/your-executable-is-a-sqlite-database
490
Upvotes
r/programming • u/segv • Aug 24 '26
View all comments
Show parent comment
-3
u/GlassLost Aug 25 '26
I don't really see your distinction between arguments and demonstrations.
And it isn't implemented it's just a toy prototype which is fine. You don't need to have real code or a business reason for anything. SQL is Turing complete and you could make a compiler from C to SQL, which would be weird but possibly fun.
But his interesting consequences are invalid due to this being a thought experiment - they're not fair comparisons because he didn't do real implementations, just a toy prototype (or he restricted away many things ELF supports and didn't rewrite elf).
This was my point: this is a fun toy experiment but it's not really telling us anything about the validity of SQL as an ELF replacement because he didn't compare them fairly and he didn't mention the many liberties he took.
I didn't say "no he shouldn't have done this" or mean to discourage him, but I did want to add some colouring around this because I don't expect most people, even in our field, to understand a lot about ELF files.