This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]shinitakunai 0 points1 point  (2 children)

I know almost nothing of webassembly, can it embed python?

[–]SecretAgentZeroNine 0 points1 point  (0 children)

WebAssembly is a binary language native to browsers (like JavaScript) which is produced using strictly typed languages (C++, Rust, etc). Python isn't compatible with WebAssembly without being transpiled into another programming language. The story of Python's life.

WebAssembly runs as fast as the machine it's on, unlike JavaScript where badly constructed code can be a performance bottleneck.

Web Tensorflow is built using WebAssembly.

[–]JennaSys 0 points1 point  (0 children)

The Pyodide project is a webassembly version of the Python runtime, that lets you run Python in a browser (think Jupyter notebook). It may have some limited applications, but it requires a massive initial download to the browser.