3 ms·
>>Would it eventually permit library sharing between, say, a Python runtime compiled to WebAsembly and JavaScript in the browser? The hard part there is the "e
by tyingq 11y ago
>>Would it eventually permit library sharing between, say, a Python runtime compiled to WebAsembly and JavaScript in the browser?
The hard part there is the "eventually". They do state that the missing pieces will come some time after the
"Minimum Viable Product", but none of it sounds high priority.
- The current course omits features that would be needed for any dynamically typed language (including Python) to work. (garbage collectors, polymorphic inline cache, etc)
- The current course also prevents anything running in the WebAssembly space from accessing the DOM. You can call your WebAssembly from javascript, but that's it.
I suspect it will be quite a while before there's more available than "call LLVM created libraries from javascript". Technically, you could, I suppose put the entire cpython codebase into webassembly, but that seems like more of parlor trick than something useful.