←back to thread

Sqlite3 WebAssembly

(sqlite.org)
647 points whatever3 | 3 comments | | HN request time: 0.755s | source
Show context
parhamn ◴[] No.41852607[source]
WebSQL should've just been Sqlite and the whole offline-first (and general app storage) ecosystem would've been so much nicer.

Is there any hope of that happening? Instead of abstracting and over specifying sqlite, can the spec just specify a version of the SQLite API browsers should support and roll the version periodically?

replies(3): >>41852850 #>>41852879 #>>41861101 #
1. simonw ◴[] No.41852879[source]
I for one am glad WebSQL didn't establish itself.

Now we get the most recent version of SQLite when we need it as a 410KB compressd WASM blob, as opposed to being stuck on browser-mandated versions of SQLite that might even be a decade old at this point.

replies(2): >>41854591 #>>41860202 #
2. xyc ◴[] No.41854591[source]
They are not mutually exclusive though. WebSQL doesn't prevent anyone from loading a WASM blob. And while moving slowly, the browsers does deprecate old stuff and update implementation.
3. ◴[] No.41860202[source]