nalgeon/sqlean

wasm module

alexbodn opened this issue · 6 comments

hello andrey and thank you very much for extending sqlite.
i'm particularly interested in the define module, since i'd like one db to be shared in python and js.
sqlite is a powerful sql to go, and now browsers and phones can put very powerful environments in your pocket.
i'd ask you to provide the modules as wasm, for use in the browser.

hope it's not a too heavy challenge.

Unfortunately, I have no idea how to make WASM extensions and how to make SQLite WASM build load them.

I'm not sure WASM is mature enough for dynamic shared library loading, but I might be wrong.
In any case, the official SQLite WASM version (which is available to try on sqlime, another great project) has extension loading disabled.
Select * from pragma_compile_options:
OMIT_LOAD_EXTENSION