Python to wasm conversion

231 views
Skip to first unread message

MONISHA

unread,
Oct 20, 2023, 11:44:22 AM10/20/23
to emscripten-discuss
Hello,
In converting python code to a wasm code, it's not clear to get to know the right package to be used rather than Emscripten and Pyodide. Also, pyodide package was the one which didn't get installed perfectly to do compilation where I tried various ways to implement it. And proper documentation or instruction to do this process is not available online to work with this conversion process. 

I just want to know what can used how this conversion of python code to wasm can be made?

Sam Clegg

unread,
Oct 23, 2023, 2:30:49 PM10/23/23
to emscripte...@googlegroups.com
There may be tools out there that can directly convert python to wasm but I don't know of them, and emscripten certainly cannot do that.

If you want to run python code on a WebAssembly VM you can use Pyodide, which is essentially CPython compiled using emscripten.  If you are having trouble building/using Pyodide its probably best to ask about those in the Pyodide forums/bugtrackers.

cheers,
sam

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/5f2fd196-e0b7-438e-b6a7-384591959c45n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages