Echo JS 0.11.0

<~>

badsyntax 1079 days ago. link 3 points
This seems like a great tool, but the main bottleneck I have is type checking. Sometimes TS is really slow at type checking in my editor. I wish more effort was directed into making type checking faster. I kinda wish the TS team would just stop adding new features and focus on improving type checking performance.
djalbat 1077 days ago. link 1 point
SWC are planning their own type checker for TypeScript. I don't have the link to hand but if you google it, you're sure to find it.

Of course the problem with type checking is that, unlike transipiling say, you can't do it incrementally. If a TypeScript file is altered then you need to look at the effect that has on all of its dependents. If you don't want to solve this problem then you have no option but to simply rebuild the whole lot. This is at the root of why type checkers are slow. 

However, a type checker written in Rust will speed things up by at least a factor of ten and maybe many times more.
orefalo 1076 days ago. link 1 point
I think they should have pushed it further and not write anything on disk - this would make it even faster...

Or better, not even read the original sources!