3 ms·
It's written in Typescript, which is a super weird choice.
by f311a 1y ago
It's written in Typescript, which is a super weird choice.
- huflungdung 1y ago[dead]
- wiseowise 1y agoWasn’t pyright made specifically for VSCode? That would explain TS.
- f311a 1y agoYes, but why they did not write it in a compiled language? Pyright is pretty slow in large code bases and takes a lot of RAM. Javascript can be faster than python in some cases, but Python is so easily extendable with C,C++, Cython, Rust. They could use Python with one of the compiled language.
- IshKebab 1y agoBecause they wanted it to be usable on the web, and I guess WASM wasn't where it is right now when they started.