4 ms·
For context: this question was asked in '11. PyPy is really really fast now. I'm not sure exactly how it stacks up against v8, but it definitely holds its own.
by overgard 12y ago
For context: this question was asked in '11. PyPy is really really fast now. I'm not sure exactly how it stacks up against v8, but it definitely holds its own. It's roughly 7 times faster than cpython.
- ris 12y ago...if you can afford the memory requirements.
- overgard 12y agoTrue, but you could say the same thing about almost any JIT compiler/interpreter for a garbage collected language. It's not like java is known for it's memory efficiency. I'm not too knowledgeable about the memory efficiency of v8, I imagine they pay attention since it's in a browser, but I'm going to guess compared to a simple interpreter it's probably not great.
- ris 12y agoThat is of course true, but pypy does have an unusually large memory burden (and the developers do know about it - it's just not top priority at the moment).