Re:AlaSQL.js – JavaScript SQL Database for Browser and Node.js
by da_chicken on Monday January 14, 2019 @11:22AM
(#18904104)
Honestly, I'm more surprised that a WebAssembly version of SQLite isn't more commonly used.
[ Parent
| on HN ]
Re:AlaSQL.js – JavaScript SQL Database for Browser and Node.js
by untog on Monday January 14, 2019 @12:11PM
(#18904502)
It would be huge, wouldn't it?
Re:AlaSQL.js – JavaScript SQL Database for Browser and Node.js
by tracker1 on Monday January 14, 2019 @12:36PM
(#18904675)
Looks like it's around 2.6mb for the not gzipped worker compiled to JS... so would presume it'd be a bit less for wasm, then gzipped to around 800k.
https://hackernoon.com/execute-millions-of-sql-statements-in...
Re:AlaSQL.js – JavaScript SQL Database for Browser and Node.js
by TheTaytay on Monday January 14, 2019 @04:33PM
(#18906741)
I'm actually in the midst of converting SQL.js to use WASM primarily instead of asm.js (https://github.com/kripken/sql.js/pull/255). By disabling some less-known features and optimizing for size, the WASM build is currently 631KB. When compressed (zip), they are a total of 270KB. https://github.com/Taytay/sql.js/pull/1