News for hackers. Stuff that matters.
Re:TypeScript 4.1 by orta on Thursday November 19, 2020 @09:48PM (#25156902)
There are research teams at Microsoft exploring a native form of TypeScript ( https://www.microsoft.com/en-us/research/publication/static-... ) but the TypeScript team will never probably look at native support given the goal is to explicitly be JavaScript + Types, and that domain helps balance well with all the other ecosystem players ( https://www.youtube.com/watch?v=8qm49TyMUPI )
Re:TypeScript 4.1 by lioeters on Friday November 20, 2020 @02:58AM (#25158238)
Fascinating - thanks for mentioning this work at Microsoft Research.

> [A Static TypeScript] program is compiled to machine code in the browser and linked against a precompiled C++ runtime, producing an executable that is more efficient than the prevalent embedded interpreter approach, extending battery life and making it possible to run on devices with as little as 16 kB of RAM (such as the BBC micro:bit).