Re:Python 3.11: “Zero cost” exception handling
by ok123456 on Wednesday October 06, 2021 @01:57PM
(#28776139)
It's when you put all these small optimizations together that it leads to something remarkable. It's analogous to video codecs: there are a bunch of individual optimizations that alone don't look that impressive, only saving ~1% here or there. But once they all are working together, you see savings of 10-50%.
[ Parent
| on HN ]
Re:Python 3.11: “Zero cost” exception handling
by Zababa on Wednesday October 06, 2021 @03:42PM
(#28777425)
I think what's surprising is how small these optimizations are. A few proposal sped up Python a lot, but were partially incompatible. Meanwhile OCaml is removing the GIL from the language, adding multicore and added stuff like Flambda in the last decade, all of that while mostly keeping backwards compatibility and not sacrificing single-core performance. All of that while having way less people working on it than Python.