by awjr · 10y ago · 0 comments
I do wonder if things like Typescript can solve a lot of the speed issues.
Typescript's type checking adds overhead just the same. So it's also a good idea to disable checks during runtime.
Fact: type checking is disabled during runtime.
Why would one assume that Typescript somehow solves speed issues? It has no measurable impact on runtime performance.
But yes, regarding your original question, you are correct, aggressive optimization is a non-goal of TypeScript. It won't improve performance.