Hacker News new | past | comments | ask | show | jobs | submit login

Is there a project to package up static python modules to run in-browser using one of their web assembly runtimes?



The webassembly-language-runtimes is focused on providing WASI-based language interpreters, what would require a WASI polyfill at the browser level (https://wasi.dev/polyfill/) and (https://github.com/bjorn3/browser_wasi_shim).

Pyodide is certainly another option, but is emscripten based, not based in webassembly-language-runtimes or WASI.


I think Pyodide is what you want.

https://pyodide.org/en/stable/


Sounds great, I will put it in my new operating system running in the browser https://extendedmachine.com.


Not sure if you’re just trying to advertise your project, but I wouldn’t use Pyodide in that case. I’d personally rather use the tool linked in the OP article for something like an OS in the browser


In fact it seems that WASI build environment is not supporting asynchronous syscalls. I think it will be needed for integrating Python apps in a web browser




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: