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

CPython doesn't, but there is Mypyc [1] which compiles statically typed Python to faster C extensions leveraging the type information. As usual, this comes with tons of limitations [2]

[1]: https://mypyc.readthedocs.io/en/stable/

[2]: https://mypyc.readthedocs.io/en/stable/differences_from_pyth...



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

Search: