2 ms·
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 compi
by LoganDark 2y ago
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)
- zelphirkalt 2y agoWhy is it named after a type checking library?
- LoganDark 2y agoBecause it uses that library for type checking?
- heavyset_go 2y agoIt's part of the Mypy project: https://github.com/python/mypy/tree/master/mypyc https://github.com/python/mypy/tree/master/mypyc