Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd kill for AOT compiled Python. 3.13 ships with a basic JIT compiler.


In 3.13 you need to compile Python yourself if you want to test the preview JIT.


mypyc can compile a strictly-typed subset of Python AOT to native code, and as a bonus it can still interop with native Python libraries whose code wasn't compiled. It's slightly difficult to set up but I've used it in the past and it is a decent speedup. (plus mypy's strict type checking is sooo good)


Why is it named after a type checking library?



Because it uses that library for type checking?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: