this post was submitted on 29 Jul 2025
59 points (88.3% liked)
Programming
21981 readers
127 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
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
It's barely transpiled. There are a couple of features that involve actual code generation - enums and namespaces (which are almost never used), but the vast majority of it is just stripping the type annotations so the performance will be 100% identical.
It's like having "Python" and "Python with type hints" as separate languages and claiming there is a big speed difference between them.
I was originally going to comment that differences in performance between JS and TS appear to be most significant in one challenge
ascii table about that, not screen reader friendly
however, trying to look to see the typescript code, wanting to translate that to type hinted python code, I've been unable to find typescript on CLBG, so I'm confused on how they got that data,
They used to have Typescript. Looks like they removed it at some point.