TypeScript to Native Code Compiler
This project compiles TypeScript to native code using the Dotnet CLR toolchain and Native AOT, letting programs use the Dotnet standard library instead of the npm ecosystem for better speed and safety. It includes a Node compat library that exposes Node APIs with CLR underneath, and the output is a Linux/macOS binary that runs without NodeJS. Simple programs already work and web apps are very nearly running.
What it addresses
The npm ecosystem is slower and less safe than the Dotnet standard library, and NodeJS output requires a runtime instead of a self-contained native binary.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
TypeScript to Native Code Compiler
This project compiles TypeScript to native code using the Dotnet CLR toolchain and Native AOT, letting programs use the Dotnet standard library instead of the npm ecosystem for better speed and safety. It includes a Node compat library that exposes Node APIs with CLR underneath, and the output is a Linux/macOS binary that runs without NodeJS. Simple programs already work and web apps are very nearly running.
Problem: The npm ecosystem is slower and less safe than the Dotnet standard library, and NodeJS output requires a runtime instead of a self-contained native binary.
Posted by @jeswin · Original source ↗
Source text · @jeswin · · Source ↗
I'm building a TypeScript to native code compiler, via the Dotnet CLR toolchain and Native AOT.