News for hackers. Stuff that matters.
Re:Python-based compiler achieves orders-of-magnitude speedups by v3ss0n on Wednesday March 15, 2023 @08:31AM (#35167260)
And it is severely underrated. Even though performance gain is aevrate around 4x-20x. Used in production and memory usage is also about 1/6th of CPython. Can get 10x perfromance easily in many cases.
Re:Python-based compiler achieves orders-of-magnitude speedups by ddorian43 on Wednesday March 15, 2023 @08:42AM (#35167398)
> Used in production and memory usage is also about 1/6th of CPython

I thought it would have higher memory usage? (based only on reading)

Re:Python-based compiler achieves orders-of-magnitude speedups by smolder on Wednesday March 15, 2023 @09:45AM (#35168236)
I suspect their relative memory efficiency depends on the size of the program and the size of the data it's processing.
Re:Python-based compiler achieves orders-of-magnitude speedups by chc on Wednesday March 15, 2023 @11:28AM (#35169797)
Somewhat paradoxically, PyPy always uses more memory for programs with small working sets, but can use less memory for programs with large working sets. 1/6 is a lot more extreme than I would have expected, though.
Re:Python-based compiler achieves orders-of-magnitude speedups by rurban on Friday March 17, 2023 @01:54AM (#35193667)
No, it has drastically less memory requirements. It's very similar to my perl compiler, and even in non-optimizing mode it uses much less memory. In optimizing mode it's almost the same as this one. Just ~20 years older.