Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm module #77

Closed
alexbodn opened this issue Apr 17, 2023 · 6 comments
Closed

wasm module #77

alexbodn opened this issue Apr 17, 2023 · 6 comments

Comments

@alexbodn
Copy link

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.

@nalgeon
Copy link
Owner

nalgeon commented Apr 17, 2023

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

@silver5753
Copy link

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

@alexbodn
Copy link
Author

alexbodn commented Apr 23, 2023 via email

@alexbodn
Copy link
Author

alexbodn commented Apr 23, 2023 via email

@nalgeon
Copy link
Owner

nalgeon commented Jun 16, 2023

WASM build: https://github.com/nalgeon/sqlean.js

@nalgeon nalgeon closed this as completed Jun 16, 2023
@DBJDBJ
Copy link

DBJDBJ commented Jun 18, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants