|Static TypeScript Launched|
|Written by Alex Denham|
|Thursday, 05 September 2019|
Researchers from Microsoft have shown off Static TypeScript (STS), a subset of TypeScript aimed at use on embedded programming platforms.
Static TypeScript (STS) consists of a subset of TypeScript implemented fully in TypeScript, along with its compiler/linker toolchain, that runs in the web browser.
The researchers, Thomas Ball, Peli de Halleux and Michał Moskal, say STS is designed to be useful in practice (especially in education), while also being good for small devices because you can use static compilation. A user’s STS 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 more usual 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). The BBCmicro:bit is a small programmable Arduino-inspired computer that is provided to all year 7 students (age 10 to 11) in the UK and has since gone global, with four million units distributed worldwide to date via the micro:bit Education Foundation. However, on such devices embedded interpreters are slow, affecting responsiveness and battery life, and limiting the applications that can be deployed.
or email your comment to: email@example.com
|Last Updated ( Thursday, 05 September 2019 )|