← Back to context

Comment by wiseowise

19 hours ago

Wasn’t pyright made specifically for VSCode? That would explain TS.

Yes, 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.

  • Because they wanted it to be usable on the web, and I guess WASM wasn't where it is right now when they started.