News for hackers. Stuff that matters.
Re:Deno 1.0 by seleniumBubbles on Wednesday May 13, 2020 @06:51PM (#23172783)
What is the ongoing performance cost of using the official TypeScript compiler for long-running applications? Or is this primarily a concern of startup time for scripts and short-lived programs like CLIs?
Re:Deno 1.0 by williamdclt on Wednesday May 13, 2020 @06:59PM (#23172863)
AFAIK, tsc is just a compiler, not a runtime. Once you compiled, you're just executing javascript so it only impacts startup time.

ts-node is a runtime able to run TypeScript. It is definitely much much slower at execution, not just at startup time. It's useful for hacking around, I use it as a REPL but even for a dev environment it's faster to use tsc's incremental compilation with a file watcher, and execute the resulting JS

Re:Deno 1.0 by hayd on Wednesday May 13, 2020 @06:59PM (#23172865)
It's purely in the compilation step, V8 executes javascript.