Re:CoreRT – .NET Core runtime optimized for AOT compilation
by tree_of_item on Tuesday January 30, 2018 @10:39AM
(#16266121)
> .NET Native (a.k.a. CoreRT) is more like what you get with Go, a single native binary.
I think this really needs to be emphasized, it's a great feature and this was the one question I had when I clicked the link, but I didn't get the answer until I came here.
.NET Native (a.k.a. CoreRT) is more like what you get with Go, a single native binary. You need to know the CPU architecture ahead-of-time, but it has performance advantages. You can also strip out unused code with IL Linker and do things like Profile Guided Optimisation.
Keep in mind that if you're using Docker containers then you probably want to share the framework, otherwise this will increase the size.
There's some more discussion around this in the .NET Core talks that I've given: https://unop.uk/talks/