Live data from Hacker News

Ty: A fast Python type checker and language server

github.com

1–10 of 296 posts

Re: Ty: A fast Python type checker and language server

#3
post #2

Just compared the time to check on a fairly large project: - mypy (warm cache) 18s - ty: 0.5s (and found 3500 errors) They've done it again.

Great, but how does it compare to Pyright on the utility / performance curve? Pyright is mature and already very fast.

https://github.com/microsoft/pyright

Re: Ty: A fast Python type checker and language server

#5
post #2

Just compared the time to check on a fairly large project: - mypy (warm cache) 18s - ty: 0.5s (and found 3500 errors) They've done it again.

I have no doubt that it will be faster than mypy, but:

> This project is still in development and is not ready for production use.

Re: Ty: A fast Python type checker and language server

#7
post #3
post #2

Just compared the time to check on a fairly large project: - mypy (warm cache) 18s - ty: 0.5s (and found 3500 errors) They've done it again.

Great, but how does it compare to Pyright on the utility / performance curve? Pyright is mature and already very fast. https://github.com/microsoft/pyright

Pyright is good, but it's quite a memory hog. (Yes, I have plenty of RAM on my machine. No, it has other uses during development, too.)
Post reply on HN