Why is Pyright authored in TS? #2529
-
Why is Pyright authored in TS? This isn't a criticism, I'm asking so I can learn about the trade-offs. For other gradual type checkers, I've seen either of these approaches:
But Pyright seems to have found a third way. Thanks for sharing your knowledge, and for typed Python. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@erictraut will probably give a more historical answer, but a current main benefit for end-users is that this allows us to ship pyright/Pylance in places that already support JS:
And, V8 (the actual engine behind node), is really fast, surprisingly so, compared to other interpreted languages. |
Beta Was this translation helpful? Give feedback.
@erictraut will probably give a more historical answer, but a current main benefit for end-users is that this allows us to ship pyright/Pylance in places that already support JS: