Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
josefx
on Oct 6, 2020
|
parent
|
context
|
favorite
| on:
Python 3.9
> Type hints don't help performance either because the interpreter discards them.
With CPython they don't. Cython actually uses annotations to optimize the generated code.
zelly
on Oct 6, 2020
[–]
That's literally a different language though, but I get your point. CPython is the worst implementation.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
With CPython they don't. Cython actually uses annotations to optimize the generated code.