←back to thread

Sqlite3 WebAssembly

(sqlite.org)
506 points whatever3 | 2 comments | | HN request time: 0s | 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(2): >>41852850 #>>41852879 #
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(1): >>41854591 #
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.