this post was submitted on 03 Oct 2025
584 points (98.8% liked)
Programmer Humor
26846 readers
428 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How is ts faster?
It's not even part of js
The JavaScript code is compiled to native and is heavily optimized, as opposed to being interpreted.
Compiled to native what?
Typescript is only used at development time it won't do shit in the browser for you.
Where did u see any performance improvements? TS doesn't do that
TS transpiles to JS, and then when that JS is executed in Deno, Node.js, a Blink browser like Chrome, etc., it gets just in time compiled to native machine code instead of getting interpreted. Hope that helps.