2 ms·
I'm not sure I was clear or understand what you're saying. It sounds like you mean this: Python source -> Python bytecode -> Python bytecode interpreter -> Jav
by smt88 11y ago
I'm not sure I was clear or understand what you're saying. It sounds like you mean this:
Python source -> Python bytecode -> Python bytecode interpreter -> JavaScript engine -> browser
And what I meant was this:
Python source -> WebAssembly bytecode -> browser
Does that make sense? It's not like there's a bunch of Python bytecode sitting around that we can't possibly re-compile. It makes a ton of sense to create a Python-to-WebAssembly compiler, but very little sense to spend time adding functionality to a browser that's specific to Python bytecode.