News for hackers. Stuff that matters.
Re:Rust is now overall faster than C in benchmarks by spiffytech on Sunday January 03, 2021 @07:13PM (#25626583)
PyPy has a JIT because using Python as the implementation language made it simple to build a runtime generator instead of a single runtime implementation, so RPython (the underlying PyPy tech) can generate a JIT and non-JIT runtime from the same source code. Conversely, the CPython team doesn't have the resources to make a JIT runtime the bespoke way that's more typical for these projects.

https://morepypy.blogspot.com/2011/04/tutorial-part-2-adding...

Re:Rust is now overall faster than C in benchmarks by naniwaduni on Sunday January 03, 2021 @10:17PM (#25627614)
CPython isn't a JIT because its goals as a portable reference implementation would be much harder to achieve with a JIT.

To put it another way, there's a reason PyPy trails CPython language features on the scale of literal years. This is not explained by the affordances of the language they're written in! They're just projects with very different requirements which, on some platforms, happen to run a lot of similar-looking code.

Re:Rust is now overall faster than C in benchmarks by ghostwriter on Monday January 04, 2021 @08:32AM (#25631057)
> there's a reason PyPy trails CPython language features on the scale of literal years.

the reason is under-funding, and the lack of developers to the cause as a consequence, not the portability complexities of jit.