A compiler of source texts in the TypeScript language to machine code is proposed

The first beta releases of the TypeScript Native Compiler project are available to compile a TypeScript application to native code. The compiler is built using LLVM, which also allows you to achieve additional features such as compiling code into a browser-independent universal low-level intermediate code WASM (WebAssembly) that can run on different operating systems. The compiler code is written in C++ and distributed under the MIT license.

Using the TypeScript language allows you to write easily readable code, and LLVM makes it possible to compile it into "native" code and optimize it. The project is currently under active development. At the moment, support for templates and some specific TypeScript features is not yet available, but the main functionality is already implemented.

Source: opennet.ru

Add a comment