3 ms·
> Only one driver is written in pure go, and can be easily statically compiled and/or cross-compiled. Which one do you mean? The WASM one? It includes WASM, it
by shp0ngle 3y ago
> Only one driver is written in pure go, and can be easily statically compiled and/or cross-compiled.
Which one do you mean? The WASM one? It includes WASM, it needs to be compiled too.
Ah github.com/cvilsmeier/sqinn-go. Which... is made by the same person that made this benchmark...?
edit: and that requires some random binary to be pre-installed...? Which is in C anyway?
https://github.com/cvilsmeier/sqinn-go https://github.com/cvilsmeier/sqinn-go
https://github.com/cvilsmeier/sqinn https://github.com/cvilsmeier/sqinn
so I don't see any "actually written in go".
- acatton 3y agoThe modernc one is the one I was refering to. https://gitlab.com/cznic/sqlite https://gitlab.com/cznic/sqlite
- shp0ngle 3y agoBut that's not pure go, that's C transpiled to go, but even the transpilation is using OS specific and CPU-specific unsafe code.
- ncruces 3y agoFor the WASM one (disclaimer: I built it) it's at least reasonably simple to reproduce the build [1], and the resulting blob is fully cross platform. Also, although I do (lightly) patch SQLite which might invalidate results in your view, the SQLite team is producing/testing/releasing WASM builds of SQLite built with much the same toolchain, which, hopefully, smokes out compiler bugs. [1]: https://github.com/ncruces/go-sqlite3/blob/main/.github/workflows/repro.sh https://github.com/ncruces/go-sqlite3/blob/main/.github/work...