3 ms·
I have played a bit with Pyodide and it is very promising for client-side web programming, particularly because of the philosophy similarities between Python an
by theanonymousone 3y ago
I have played a bit with Pyodide and it is very promising for client-side web programming, particularly because of the philosophy similarities between Python and JavaScript, which make interaction more seamless.
Being interpreted is a hindrance, though: The interpreter itself is at least a few megabytes in size, constraining wider usability (IMO).
I'm enthusiastically waiting for solutions to "compile" Python code to WASM, instead of running it with a WASM-compiled interpreter. LPython[0] promises so, but it's still in alpha stage.
[0] https://lpython.org/ https://lpython.org/
- nalgeon 3y agoThis approach would allow you to run a pre-built Python program in the browser, but not change the code and re-run it. This kind of defeats the idea of interactive code snippets in the docs (but might still be useful in other use cases).
- theanonymousone 3y agoYes of course. I wasn't talking about the code snippet use case.