News for hackers. Stuff that matters.
Re:IndexedDB is completely broken in latest Safari by tehbeard on Tuesday June 15, 2021 @02:49AM (#27512126)
> Nowadays you can use sqlite3 through wasm if you want, though I don’t know how you’d handle the persistence layer.

There was a post on here in the last month or 2, atleast for reading, that used http range headers for reading the db pages.

as for writing, you're gonna hate this, but a vfs impl. for SQLite using indexedDB as the backing store is your best option (Safari stupidity not withstanding)

Re:IndexedDB is completely broken in latest Safari by masklinn on Tuesday June 15, 2021 @05:21AM (#27512925)
> There was a post on here in the last month or 2, atleast for reading, that used http range headers for reading the db pages.

That was for a local SQLite doing remote loads/stores, I was thinking more local loads/stores, what websql would have provided.

> as for writing, you're gonna hate this, but a vfs impl. for SQLite using indexedDB as the backing store is your best option (Safari stupidity not withstanding)

Yeah that’s what I was figuring out but then it feels like the SQLite bits are significantly less useful, and I’m not sure how good indexeddb is at being a block device.