News for hackers. Stuff that matters.
Re:SQLite is not a toy database by haolez on Thursday March 25, 2021 @12:18PM (#26582128)
Wow! The sql.js bundle is only 8kb. This is a hidden gem for sure. Thanks for pointing it out!

EDIT: It's actually 1.2MB. Thanks for pointing it out :)

Re:SQLite is not a toy database by fabiospampinato on Thursday March 25, 2021 @12:44PM (#26582457)
Nope, try using the demo website, it loads a 1.2mb wasm file (https://sql.js.org/dist/sql-wasm.wasm). SQLite might be impressively small but it's not _that_ small.
Re:SQLite is not a toy database by bogwog on Thursday March 25, 2021 @02:12PM (#26583493)
I was actually looking into options for storing some data for a game I'm working on a while back, and decided against using SQLite because it was too big of a dependency (project has a specific size limit/target).
Re:SQLite is not a toy database by hajile on Friday March 26, 2021 @04:25PM (#26596511)
I'd point out that it's 1.2MB uncompressed, but only around 390k compressed.
Re:SQLite is not a toy database by tln on Thursday March 25, 2021 @12:44PM (#26582453)
There's a 1.2 Mb WASM file as well