3 ms·
Lack of native support for SQLite in modern browsers is what is holding it back.
by me551ah 4y ago
Lack of native support for SQLite in modern browsers is what is holding it back.
- samwillis 4y agoSQLite not being an “official” browser api was the right choice. It would have tied to closely to a specific version and limited it’s possible use with no ability to use extensions. SQLite is exactly what WASM is good at, now the only thing holding SQLite/WASM back is a low level filesystem/block store api. But this is coming soon! It will enable so much more than SQLite too, you will be able to use custom SQLite builds with extensions, and other databases (DuckDB, MongoDB/Realm and others)
- nikeee 4y agoThere was WebSQL, which aimed to be an SQL database as a JavaScript browser API [0]. Turned out, every browser used SQLite as an implementation backend which lead to the deprecation of WebSQL. [0]: https://en.wikipedia.org/wiki/Web_SQL_Database https://en.wikipedia.org/wiki/Web_SQL_Database