News for hackers. Stuff that matters.
Re:JITs are un-ergonomic by progval on Sunday March 29, 2020 @03:46AM (#22717158)
Python suffers the same issue. There's some discussion about dealing with it in this PEP and the pages it links: https://www.python.org/dev/peps/pep-0509/
Re:JITs are un-ergonomic by The_Colonel on Sunday March 29, 2020 @08:51AM (#22718574)
Python does not seem to be even trying to be competitive in performance though so it's less of an issue for them.
Re:JITs are un-ergonomic by progval on Sunday March 29, 2020 @09:33AM (#22718873)
They do, it's just not a priority. The PEP I linked (as well as most of the work of its author, Victor Stinner, in the last years) are motivated by JITing.

There's also the "frame evaluation API" PEP [1], whose purpose is to allow pluggable evaluators in CPython without forking the entire interpreter, like Unladen Swallow had to.

[1]: https://www.python.org/dev/peps/pep-0523/

Re:JITs are un-ergonomic by divs1210 on Sunday March 29, 2020 @10:45AM (#22719405)
Python is orders of magnitude slower than JS, though. It has the same problems, but doesn't even try solving most. PyPy would be a better VM to compare against.