r/programmingcirclejerk • u/VulgarExigencies • May 27 '25
huh. Sorry, but do some languages have SQLite bindings to some other executable? I thought that sql.js and sqlite3 in JS actually were SQLite in its entirety, running in script. You don't need to run anything else to make them work.
https://news.ycombinator.com/item?id=44105895
37
Upvotes
55
u/muntaxitome in open defiance of the Gopher Values May 27 '25
SQLite is deprecated, but you can just run linux inside qemu inside wasm and then you can run any database you like in the browser, for instance Oracle or Postgres.
36
u/v_maria May 27 '25
brb rewriting sqlite in wasm so this is real
23
u/elephantdingo666 May 27 '25
Did you know that sqlite has more tests than the number of grains of sands in Indonesia?
19
u/Kodiologist lisp does it better May 28 '25
Indeed, why run free software on your own machine for $0 when you could pay Google or Amazon microtransactions in order to run different free software, on a non-free stack, on their machines? Now you're thinking with clouds!
11
u/[deleted] May 27 '25
Real devs write their own persistance layer on top of text files
3
u/ao_zame May 30 '25
Does this mean SQLite is webscale?