Three ways to smuggle SQLite into Nix

(fzakaria.com)

5 points | by domenkozar 3 hours ago ago

2 comments

  • kevincox 14 minutes ago

    It seems that you could just compile the data into the WASM blob. Then use a more optimized query engine than sqlite. This should be very fast to compile (most of the WASM is just a byte buffer, the code is just a few binary searches and some result encoding). The downside is that you need to recompile to update the repo, but I don't think that should be particularly expensive.

  • ghthor an hour ago

    The WASM extension me like. Would be great to get that into mainline.