Re:Python-based compiler achieves orders-of-magnitude speedups
by adammarples on Wednesday March 15, 2023 @10:22AM
(#35168722)
One great move I've discovered recently is to simply type annotate the python thoroughly and use mypyc to build a c package
[ Parent
| on HN ]
Re:Python-based compiler achieves orders-of-magnitude speedups
by wcdolphin on Wednesday March 15, 2023 @01:07PM
(#35171380)
Would you mind sharing more details of your experience using MypyC? What domain are you working in, and what kind of effort and speedups did you see?
Re:Python-based compiler achieves orders-of-magnitude speedups
by FreakLegion on Wednesday March 15, 2023 @05:56PM
(#35175282)
Here's a detailed write-up from one of the Black maintainers: https://ichard26.github.io/blog/2022/05/compiling-black-with.... That's on the low side of the speedup curve, in my experience.