News for hackers. Stuff that matters.
Re:The Deno Company by lucacasonato on Monday March 29, 2021 @11:25AM (#26623142)
No. Nothing has changed about Typescript support since 1.0. It is just as well supported as JS. We never removed support...
Re:The Deno Company by threatofrain on Monday March 29, 2021 @11:29AM (#26623218)
So Deno is still committing to TS runtime?
Re:The Deno Company by asiachick on Monday March 29, 2021 @08:42PM (#26630118)
I feel like people are talking past each other here.

To me "TypeScript runtime" means running TypeScript in a mode that runs faster than JavaScript by actually using the type info to generate better machine code. It does not mean translating to JavaScript at runtime and running in V8.

For example at one time there was an experimental version of Chrome that had a Dart Runtime. A quick google finds this HN thread when they decided NOT to have a dart runtime

https://news.ycombinator.com/item?id=9264531

So can we get clear? Does Deno plan to execute TypeScript natively (not via V8 or via a heavily modified V8) or are the plans to continue compiling TypeScript to JavaScript internally and actually just run JavaScript

Re:The Deno Company by threatofrain on Tuesday March 30, 2021 @06:41AM (#26633040)
That's what I understood as well, and now I'm confused at the messaging.
Re:The Deno Company by rhencke on Monday March 29, 2021 @11:33AM (#26623285)
Y E S
Re:The Deno Company by lucacasonato on Monday March 29, 2021 @11:50AM (#26623628)
Heck yeah
Re:The Deno Company by threatofrain on Monday March 29, 2021 @01:16PM (#26625068)
I don't know where I got so misinformed. I thought Deno had stopped going for a TS runtime.
Re:The Deno Company by rhencke on Monday March 29, 2021 @01:57PM (#26625675)
Unfortunately, the words "Deno", "TypeScript", and "removal" made for good headline material, and what was effectively a design document about performance optimization[1] became misinterpreted by many as heralding the removal of TypeScript from Deno, despite the document being updated with a explanatory warning that it was a very deep technical document about a specific part of architecture, and that Deno remains completely committed to supporting TypeScript forever.

1: https://docs.google.com/document/d/1_WvwHl7BXUPmoiSeD8G83JmS...

Re:The Deno Company by forty on Monday March 29, 2021 @02:23PM (#26626101)
Was does a TS runtime means anyway? Doesn't checking types at run time rather than at compile time a pure loss?
Re:The Deno Company by threatofrain on Tuesday March 30, 2021 @03:02PM (#26638866)
No, because TS hints should also be able to translate to runtime savings.

I do find the messaging to be confusing, because what would you think I meant if I talked about the runtime of Elixir or Scala?

This is the marketing line on the front page of the Deno project:

> A secure runtime for JavaScript and TypeScript.

They are using the same term "runtime" to describe JS as well as TS. All replies here by Deno team members use the language "Typescript support" but nobody here is saying TypeScript runtime.