News for hackers. Stuff that matters.
Re:Show HN: I rewrote my Mac Electron app in Rust by antonvs on Thursday May 29, 2025 @01:51AM (#44123455)
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.

Re:Show HN: I rewrote my Mac Electron app in Rust by capitol_ on Thursday May 29, 2025 @02:41AM (#44123650)
I thought that (for example) deno executed typescript natively?
Re:Show HN: I rewrote my Mac Electron app in Rust by wiseowise on Thursday May 29, 2025 @03:51AM (#44123918)
It executes typescript without you compiling it to JavaScript first, it doesn’t make code execution any faster.