News for hackers. Stuff that matters.
Re:The Deno Company by threatofrain on Monday March 29, 2021 @11:16AM (#26623001)
Is Deno still going for TS runtime?

> Deno is a runtime for JavaScript and TypeScript that is based on the V8 JavaScript engine and the Rust programming language.

Re:The Deno Company by wperron on Monday March 29, 2021 @01:47PM (#26625533)
Insofar as we take `.ts` files seamlessly yes -- though to be clear, one does not simply "run" TypeScript. There are no runtimes for TypeScript directly (there's AssemblyScript that _looks_ like TypeScript, but isn't exactly TypeScript)

We've simply incorporated the type-checking and transpiling steps into the deno cli, making it super simple to get going, no config needed.

Re:The Deno Company by threatofrain on Tuesday March 30, 2021 @06:47AM (#26633084)
This is actually quite confusing, because

> A secure runtime for JavaScript and TypeScript.

Shouldn't require caveats, with the caveat being that there is no runtime for TS.

There is reason to believe that the extra information given from TS typings could be carried into runtime wins, and so there is absolutely pent up demand for an actual TS runtime.

Re:The Deno Company by forty on Monday March 29, 2021 @02:19PM (#26626045)
Exactly. And I guess the package still needs to be compiled to JS before deploying to production? To avoid shipping a full TS compiler on a production server which would be a crazy thing to do.
Re:The Deno Company by sneak on Monday March 29, 2021 @03:39PM (#26627171)
I don't think that would be that crazy, especially if it's in the stdlib.
Re:The Deno Company by forty on Monday March 29, 2021 @05:56PM (#26628752)
It seems like a huge amount of code and potential vulns to bring in production for no good reasons.
Re:The Deno Company by reader_mode on Monday March 29, 2021 @11:20PM (#26630964)
Why do you need a full TS compiler - you can just strip type annotations ala babel.