-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Is there a WebAssembly version of sql.js? #219
Comments
To try it, you need to pass |
Thank you sir! Much appreciated! |
Did you get a WebAssembly version to work? |
I'm also looking forward to this. |
Me too |
I haven’t even attempted this since I asked I did stumble across this project though in a recent search: https://github.com/mandel59/sqlite-wasm It’s not active but maybe that’s because it just works @mandel59? |
I've started work on this, and have a work-in-progress branch here: https://github.com/Taytay/sql.js/tree/wasm It depends on other non-wasm fixes I've made here: https://github.com/Taytay/sql.js/tree/fix/async_loading More details, and a PR to come. |
And if folks are reading this, they might be interested in another branch I've started where I'm trying to optimize things. So far, I've gotten the .wasm file down to 571KB: Taytay#1 |
Good work! I will keep watching |
I have a limited understanding of WebAssembly, but my understanding is that we'd see better performance if this was actually compiled directly to WebAssembly, rather than "only" asm.js. If that's correct, has anyone made the edits to the toolchain to support it, or are there pre-compiled files available on any of this projects' branches? If I wanted to look into doing so, can anyone point me in the right direction to begin digging in?
The text was updated successfully, but these errors were encountered: