4 ms·
How difficult do you think it would be compile SpatiaLite (a big hairy C codebase) to WASM and load it as a dynamic module, like you've done with sqlite-lines?
by simonw 4y ago
How difficult do you think it would be compile SpatiaLite (a big hairy C codebase) to WASM and load it as a dynamic module, like you've done with sqlite-lines?
- alexgarcia-xyz 4y agoThis has been done by other people already! - https://github.com/jvail/spl.js https://github.com/jvail/spl.js - https://observablehq.com/@visionscarto/hello-spl-js https://observablehq.com/@visionscarto/hello-spl-js
- simonw 4y agoOh wow! I wonder how hard it would be to load that module into https://github.com/simonw/datasette-lite https://github.com/simonw/datasette-lite Hah, turns out I have an issue for that already, which I'd forgotten about: https://github.com/simonw/datasette-lite/issues/30 https://github.com/simonw/datasette-lite/issues/30