4 ms·
TS is not interpreted. It compiles to JS, which is interpreted, but TS itself is not. There are no TS interpreters, they all compile to JS behind the scenes. O
by kaoD 3y ago
TS is not interpreted. It compiles to JS, which is interpreted, but TS itself is not. There are no TS interpreters, they all compile to JS behind the scenes.
Or does Deno run TS natively? At a glance it looks like even its runtime is written in JS[0].
EDIT: looks like they have bindings for V8[1] so yeah, just a JS interpreter behind the scenes.
[0] https://github.com/denoland/deno/tree/main/runtime/js https://github.com/denoland/deno/tree/main/runtime/js
[1] https://github.com/denoland/rusty_v8 https://github.com/denoland/rusty_v8