4 ms·
I would immediately support this. This conversation needs to be started again. I'm gonna ping some people on twitter. I've just searched for a WebSQL on Indexe
by SchizoDuckie 13y ago
I would immediately support this. This conversation needs to be started again. I'm gonna ping some people on twitter.
I've just searched for a WebSQL on IndexedDB adapter yesterday and it's certainly possible, but it's a nightmare from the perspective of any sane person. This polyfill I found runs SQLite compiled with CLANG to javascript, which means running 2MB of javascript to support something that they already support 'under the hood'. I refuse to work with that.
https://github.com/Philzen/WebSQL-Polyfill https://github.com/Philzen/WebSQL-Polyfill
- frik 13y agoGreat. We would need a blog post that lands on the HN front page and some other HN readers that are equal minded. Or a contact to Mozilla devs. There is also a similar one called SQL.js - SQLite compiled to JavaScript through Emscripten (probably a big library too): https://github.com/kripken/sql.js https://github.com/kripken/sql.js