> - At least 20% performance improvement over plain JavaScript.
How would that work? TS is not an optimizing compiler, it's only a type checker.
How would that work? TS is not an optimizing compiler, it's only a type checker.
The fact that Microsoft does not want to hire serious compiler engineers and prefers to spend all the money on marketing is not my fault.
Many performance improvements come from being able to do code analysis during generation, which is already a trade-off for environments doing in-time interpretation, code generation and optimization.
Large performance increases would most come from removing dynamic language complexity, such as having use of the 'class' feature added in ECMAScript create non-mutable properties by default for function declarations.