News for hackers. Stuff that matters.
Re:A 10x Faster TypeScript by darthrupert on Tuesday March 11, 2025 @01:56PM (#43335235)
This kinda begs the question: should we port all backend Typescript code to Go (or Rust) to get a similar runtime performance improvement? Is Typescript generally this inefficient?
Re:A 10x Faster TypeScript by airforce1 on Tuesday March 11, 2025 @02:30PM (#43335577)
If your backend is JS and it's too slow for you, then obviously porting it to a machine code binary will speed it up significantly. If you are happy with your backend performance, then does it matter?
Re:A 10x Faster TypeScript by crabmusket on Tuesday March 11, 2025 @04:45PM (#43336835)
You could profile it and find out.

Another commenter pointed out that compilers have very different performance characteristics to games, and I'll include web servers in that too.

tsc needs to start up fast and finish fast. There's not a ton of time to benefit from JIT.

Your server on the other hand will run for how long between deployments?