Many Linux distros are shipping .NET in the default install due to more and more apps requiring it. If something like this takes off for console apps, it's only going to improve from there.
Many Linux distros are shipping .NET in the default install due to more and more apps requiring it. If something like this takes off for console apps, it's only going to improve from there.
With .NET Core 3.x it's possible to publish self-contained executables so there's no need to have to the runtime installed.
https://docs.microsoft.com/pt-br/dotnet/core/deploying/#publ...
https://docs.microsoft.com/en-us/dotnet/framework/tools/ngen...
.NET Core's new AOT systems are much more capable than ngen ever was, including for static, self-contained binaries that you could potentially ship to all systems of a target architecture without shipping the non-AOT IL binaries as well.
(ETA: Which is why the vast majority of .NET software hardly ever bothered with ngen except for very specific per-machine performance needs.)
I hope new AOT would be better
IIRC .NET Native compilation was very slow and could not target…, well, Windows, but only Windows UWP.
https://docs.microsoft.com/en-us/dotnet/framework/tools/ngen...
Interesting is that they've adopted some of the lessons learned from Rust, or are trying to.