top | item 43922113

(no title)

davidfstr | 9 months ago

mypy is compiled using mypyc. It does not run as Python code.

discuss

order

mzl|9 months ago

The semantics of Python makes it problematic to run at speed, it is not just about interpreted vs compiled code. Give the high levels of dynamic behaviors that are allowed, a Jit (like pypy) has a higher chance of getting decent performance if the code has an underlying behavior that can be extracted.

Sinidir|9 months ago

mypy is also written in a style conducive to speed ups when compiling with mypyc