3 ms·
I read it as "There's zero appetite [on the part of browser vendors] for introducing non-standard language runtimes into browsers these days". Anyway, WebAssem
by mintplant 10y ago
I read it as "There's zero appetite [on the part of browser vendors] for introducing non-standard language runtimes into browsers these days".
Anyway, WebAssembly [0][1] is coming through the pipeline with the goal of opening a common browser runtime to more languages. Instead of Mozilla incorporating a Python runtime into Firefox, a Python runtime will eventually be able to target WebAssembly. For Python specifically, the work in progess on builtin GC support should help a lot [2].
As for the donation to PyPy, Mozilla uses Python heavily in internal tooling so I imagine that's part of the motivation.
[0] https://webassembly.github.io/ https://webassembly.github.io/
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1188259 https://bugzilla.mozilla.org/show_bug.cgi?id=1188259
[2] https://github.com/WebAssembly/design/blob/master/GC.md https://github.com/WebAssembly/design/blob/master/GC.md
- jakub_h 10y agoWill WebAssembly allow for self-modifying code? Otherwise you're stuck with CPython, apparently.
- yoklov 10y agoThe python runtime is fairly heavyweight, on the order of megabytes, unless I'm mistaken. This would be something that would be downloaded with every page request (although it may be cached in most cases)... So I'm not sure it will be something you will want to use in a lot of places.