Sunday, November 25, 2018

CoreRT: .NET Core to native compiler

Compiling to "native" is nothing new for .NET "Mono" variant that does that to be able to run on iOS, by leveraging LLVM toolchain. Windows 10 .NET apps are also pre-compile for target platforms. Still, for mainstream .NET development compiling to native (no JIT) is new. With Kotlin having that feature in Java ecosystem, as well as Go being native by default for micro-services, having option to pre-compile C# is a welcome addition.

dotnet/corert: This repo contains CoreRT, a .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain. @ GitHub

corert/ at master · dotnet/corert

CoreRT - A .NET Runtime for AOT · Performance is a Feature!
CoreRT - compilation process

.NET Core - Publishing Options with .NET Core @ MSDN magazine

c# - Compiling .net core app with CoreRT / another AOT - Stack Overflow