3 ms·
It would be nice to have an official, more performant statically typed/less dynamic subset of Python. Yeah we have mypy, but its not official and not integrate
by brucethemoose2 4y ago
It would be nice to have an official, more performant statically typed/less dynamic subset of Python.
Yeah we have mypy, but its not official and not integrated. And subsets that do have a performance benefit (like TorchScript) are niche and/or not sustainably supported.
- wyldfire 4y agoWell -- other languages have shown up to try and fill this niche.
- ben-schaaf 4y agoNot statically typed, but rpython is a statically analyzable subset of python that is used to write pypy: https://rpython.readthedocs.io/en/latest/rpython.html https://rpython.readthedocs.io/en/latest/rpython.html
- brucethemoose2 4y agoThat looks very reasonable. Converting a Python codebase would be much easier than porting to a new language. Now all your imports, on the other hand...