News for hackers. Stuff that matters.
Re:IndexedDB is completely broken in latest Safari by hitekker on Tuesday June 15, 2021 @01:21PM (#27518491)
"Lower level" is a basic software engineering shorthand for minimal abstraction.

https://computersciencewiki.org/index.php/Higher_level_and_l...

IndexedDB builds on top of SQLite, so it's considered "higher-level", not lower level.

Re:IndexedDB is completely broken in latest Safari by crubier on Wednesday June 16, 2021 @03:43AM (#27525953)
Indexeddb is not built on top of SQLite. IndexedDb is an API. This API is more primitive and limited than SQL. This API is basically a key value store with indices and transactions. This is what many SQL databases are implemented on top of (Postgres for example).

So yes it is absolutely possible to implement a SQL database on top of indexed DB, and that would be the architecturally logical thing to do.

The fact that Firefox goes the other way around is an implementation detail. What they did is called « emulation »: run a low level interface on top of a higher level one. This technique is very common and does not mean that the abstraction levels of API are suddenly magically reversed. It’s just an implementation detail of the architecture.

You can run NES code in an emulator in JavaScript on the web. Does this make NES assembly higher level than JavaScript ? No.