News for hackers. Stuff that matters.
Re:Introducing PyScript (summary of PyCon keynote) by summerlight on Thursday June 23, 2022 @03:21AM (#31846090)
How long have there been any serious official investments to make Python faster though? Python just recently touched interpreter level optimization from 3.10 and AFAIK they haven't begun JIT works yet. I'm not saying that Python will ever become as fast as JS, but neither JS was not designed to be fast; it was V8 that made it fast.
Re:Introducing PyScript (summary of PyCon keynote) by codedokode on Thursday June 23, 2022 @05:02AM (#31846601)
Python (and JS) is not optimizer-friendly and it is very difficult to write a JIT for it (you can read a description of JIT in WebKit dev blog to get an idea what it takes to write it).
Re:Introducing PyScript (summary of PyCon keynote) by nerdponx on Thursday June 23, 2022 @04:55AM (#31846566)
Not "official" as in "officially sponsored by PSF" but the PSF is undersupported and doesn't have extra resources for something like that. There are many longstanding projects that attempt to make Python faster by reimplementing it (or parts of it), and CPython itself has become incrementally substantially more efficient over the last few releases.