6 ms·
There's also my take on this [1], which does machine translation from C to Go via Wasm using [2]. It's a somewhat less faithful translation, since I manually p
by ncruces 4mo ago
There's also my take on this [1], which does machine translation from C to Go via Wasm using [2].
It's a somewhat less faithful translation, since I manually ported the VFS (SQLite OS abstraction layer).
OTOH, each SQLite connection is sandboxed (can't access/corrupt Go memory, or other SQLite connections). And it should run everywhere Go runs.
1: https://github.com/ncruces/go-sqlite3 https://github.com/ncruces/go-sqlite3
2: https://github.com/ncruces/wasm2go https://github.com/ncruces/wasm2go