News for hackers. Stuff that matters.
Re:Show HN: GoatDB – A Lightweight, Offline-First, Realtime ... by gr4vityWall on Tuesday February 25, 2025 @01:48PM (#43175729)
shipping SQLite as a WASM module can increase your bundle size significantly, depending on your baseline.

> How is something that requires a JS runtime easier than a single-file compiled binary?

You can compile your JS to bytecode and bundle it with its runtime if you want to, getting a single-file executable. QuickJS and Bun both support this, and I think Node.js these days does as well.

If you expect your user to already have a runtime installed and you're not using QuickJS, you can just give them the script as well.

There are no comments on this comment yet.