9 ms·
Is Deno intended to be used with JS? I was under the impression it was a TS runtime.
by desert_boi 6y ago
Is Deno intended to be used with JS? I was under the impression it was a TS runtime.
- lucacasonato 6y agoDeno can run both JS and TS no problem.
- irrational 6y agoIn the manual the examples are all given in both JS and TS formats.
- kjksf 6y agoTechnically, Deno is V8 and only runs JavaScript. Deno supports and encourages writing code in TypeScript but the way it works is: Deno bundles TypeScrit compiler, uses it to convert TypeScript to JavaScript and then executes the JavaScript. It can also run JavaScript files directly. Deno's runtime is a bunch of JavaScript APIs + TypeScript typings so that they can be understood by TypeScript code.
- gnabgib 6y agoThere's a great Software Engineering Daily podcast with Elio Rivero [0] (audio and transcript in link) that goes into depth on Deno, TypeScript, JavaScript support. It's interesting that compile time was the (TS) killer. [0]: https://softwareengineeringdaily.com/2020/09/28/deno-and-typescript-with-elio-rivero/ https://softwareengineeringdaily.com/2020/09/28/deno-and-typ...