Hacker News new | past | comments | ask | show | jobs | submit login

> This is great. I sincerely hope the PyPy developers see the light soon and start focusing on Python 3.x support

I don't think the lack of Python 3 support was reflective of a value judgment about Python 3, so much as that most of the companies willing to fund PyPy development so far are still on Python 2, and were more interested in funding other kinds of work (performance, numpy, cpython extension compatibility, etc.)

> I also sincerely hope that this portends Firefox bundling a Python runtime with the browser, providing a DOM API, and letting sites provide client-side scripts in Python. JavaScript has been allowed to reign for much too long.

This strikes me as extremely unlikely. There's zero appetite for introducing non-standard language runtimes into browsers these days as far as I can tell. But I guess you never know.




It's a bit rude to say there is zero appetite for something in reply to a person who just expressed an appetite for it.


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/

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1188259

[2] https://github.com/WebAssembly/design/blob/master/GC.md


The 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.


Will WebAssembly allow for self-modifying code? Otherwise you're stuck with CPython, apparently.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: