3 ms·
Mozilla's plan is to implement IndexedDB on top of SQLite, and then encourage developers to re-implement SQL in Javascript on top of that. https://hacks.mozill
by rfugger 16y ago
Mozilla's plan is to implement IndexedDB on top of SQLite, and then encourage developers to re-implement SQL in Javascript on top of that.
https://hacks.mozilla.org/2010/06/beyond-html5-database-apis-and-the-road-to-indexeddb/ https://hacks.mozilla.org/2010/06/beyond-html5-database-apis...
Sounds to me like a ludicrous hoop to make people jump through just to avoid an ad-hoc standard based on an implementation.
- jorangreef 16y agoYes, except Mozilla have to yet to show that it can be done. They are yet to understand that IndexedDB does simply not provide enough low-level primitives to implement SQL let alone have even a chance of coming within 10 orders of magnitude of the performance of SQLite. There's a design flaw in IndexedDB, namely IndexedDB does not regard objects as opaque. This is the first thing you'd need (followed by variable length records) if you wanted to implement SQLite on IndexedDB. Ships will sail around the earth but the flat earth society will flourish.