2 ms·
I don't know a ton about low level language implementation, so excuse me if this comment is misguided, but... Does type hinting in Python 3.x (PEP 484) change
by tedmiston 10y ago
I don't know a ton about low level language implementation, so excuse me if this comment is misguided, but...
Does type hinting in Python 3.x (PEP 484) change this (i.e., reduce the overhead due to dynamicness)? I know it doesn't include runtime type checking, so perhaps it's moot but maybe someone has written an interpreter that does hard type checking either at runtime or through a compilation step.
- ngrilly 10y ago> Does type hinting in Python 3.x (PEP 484) change this No. The type hints are only meant for tooling (type checking, refactoring, documentation, etc.).