4 ms·
Deno[0] supports running TypeScript without needing to compile it to JS. [0] -- https://deno.land/ https://deno.land/
by arc0 6y ago
Deno[0] supports running TypeScript without needing to compile it to JS.
[0] -- https://deno.land/ https://deno.land/
- nicoburns 6y agoDeno still compiles it to JS. It just does it for you.
- capableweb 6y agoWhich at one point gets compiled to machine code. At one point, you have to stop and say, "Yeah, this does effectively runs TypeScript", otherwise as I said, you'll end up saying nothing gets run but machine code. While that's correct, not very useful.
- nicoburns 6y agoI think the key point in this case is that the performance characteristics of Deno don't significantly differ from TypeScript independently transpiled to JavaScript and run in Node because the compilation pipeline is more or less the same (Deno is using tsc and v8 internally)
- ulucs 6y agoI think the distinction will hold when you can access type information at runtime
- ragnese 6y agoWhy? Haskell doesn't even have runtime type information. So what would you call the stuff that runs after I compile my Haskell code? Not-Haskell?