Extending web applications with WebAssembly and Python
1–10 of 27 posts
Re: Extending web applications with WebAssembly and Python
#2- [0] https://github.com/vmware-labs/webassembly-language-runtimes...
Re: Extending web applications with WebAssembly and Python
#3Re: Extending web applications with WebAssembly and Python
#4Re: Extending web applications with WebAssembly and Python
#5Is there a project to package up static python modules to run in-browser using one of their web assembly runtimes?
Re: Extending web applications with WebAssembly and Python
#6Took me a while to understand that exports are available for the wasm module to call and imports are what the wasm module can see to call.
Re: Extending web applications with WebAssembly and Python
#7Is there a project to package up static python modules to run in-browser using one of their web assembly runtimes?
Pyodide is certainly another option, but is emscripten based, not based in webassembly-language-runtimes or WASI.
Re: Extending web applications with WebAssembly and Python
#8Re: Extending web applications with WebAssembly and Python
#9One of the aspects I find tremendously exciting about Wasm is not just the portability, security, performance, etc. but the fact that you can do this with your language of choice. Lowering the barrier to adoption without hindering some of the advanced use cases tends to work well to get developers onboard ...
Re: Extending web applications with WebAssembly and Python
#10This is exciting! Does that mean that I can load a sqllite db or a duckdb onto the browser through wasm and then connect it with the python env?
Many server-side Wasm runtimes supports WASI out of the box. For the browser, you need to provide a polyfill to emulate these resources like the one provided by the WASI team [2].
Regarding SQLite, these builds include libsqlite so you should be able to use it :)
- [0] https://github.com/vmware-labs/webassembly-language-runtimes
- [1] https://wasi.dev/