Elektrine lite

← Feed

@Crell@phpc.social

2026-09-15 01:02 UTC

SQLite for Everything https://joecode.com/2026-08-19-sqlite3/ We have so many remarkable tools that we avoid using because something else has a shiner marketing budget. (Though SQLite's type system is pretty mediocre.) #programming #sql #sqlite

Replies (2)

  • @helge@mastodon.social 2026-09-15 01:20

    @Crell@phpc.social I wouldn’t call SQLite’s type system “mediocre”. It’s intentionally untyped by design and works as intended (views are the one leak I know of, such don’t preserve affinity). You could call it untyped, that would be fair. But certainly not mediocre.

    Open ##4697563

  • @CGM@mastodon.scot 2026-09-15 10:53

    @Crell@phpc.social Agree 99%, except with "SQLite Replaces Redis". Yes, you can do caching with SQLite, but I also do interprocess (or even intermachine) messaging through Redis using RPUSH/BLPOP on lists. I don't think there's any SQLite equivalent to this. You give an example of "SQLite as a Queue" but AFAICS if the queue is empty the receiver will need to keep polling it. With BLPOP in Redis the receiver just waits and gets woken up when a message becomes available.

    Open ##4725005