Lurker News
Back to discussion

Comment by antonvs

antonvs1 reply#
Technically Typescript can't really be slow, since it's just a preprocessor for Javascript, and the speed of its programs will depend on which Javascript implementation you use.

Typescript's sweet spot is making existing Javascript codebases more manageable.
It can also be fine in I/O-heavy scenarios where Javascript's async model allows it to perform well despite not having the raw execution performance of lower-level languages.

capitol_1 reply#
I thought that (for example) deno executed typescript natively?
wiseowise#
It executes typescript without you compiling it to JavaScript first, it doesn’t make code execution any faster.