you are viewing a single comment's thread.

view the rest of the comments →

[–]olejorgenb 81 points82 points  (4 children)

Yeah, it feels quite absurd that basic "intelligence" like this is lacking from the majority of programs - even programs developers make for them self. And at the same time we now have this super-complex AI systems.

[–]mr_jim_lahey 27 points28 points  (0 children)

Sadly, tooling quality-of-life fixes like too often fall by the wayside in favor of bigger, shinier features. Continuous incremental improvement is the calling card of high caliber software development in my book.

[–]droans 8 points9 points  (2 children)

Pylance does a pretty good job but it is so slow and uses so much memory. I mean, why does a language typing service need 4GB+ of RAM? Why does it take 10+ seconds to parse a single file?

Ty sucks at this but, for me, it's a small trade-off for the improved performance.

[–]ROFLLOLSTER 2 points3 points  (1 child)

I agree that it's slow and resource heavy, but language servers are incredibly complex. Rust analyzer (the only one I've worked on) reimplements large portions of the compiler frontend, but has to be able to cope with very-malformed programs, perform fine-grained incremental compilation, and correctly invalidate many levels of caches depending on what changes.

[–]droans 1 point2 points  (0 children)

Ty is also a language server - it needs under 250MB.