Support Single-File Apps in .NET 5
I just really wish they start investing into true static compilation for .NET.Some serious projects [1] started adopting CoreRT [2], despite Microsoft's neglect for their own runtime. CoreRT seems to really deliver on the single-file fast-startup small-size .NET promise. Getting this project folded into the LTS .NET 6 release should be a priority.The source generators [3] that are coming to .NET 5 easily cover 99% of our Reflection.Emit use cases, so the JIT is going to be more of a legacy burden once .NET 5 comes out.I want Go's small size, fast compile times, fast startup, without Go's bs (explicit error checking, seriously?).Pieces of our software get deployed over a satellite link so yeah, megabytes matter (and that's why I don't even dare to propose using .NET for those parts). Sharing code with the rest of our .NET stack is a PITA though so people are getting itchy to rewrite the rest of our .NET stuff in Go for better sharing (the Reflection.Emit parts would be replaced with "go generate" which is... a source generator). It would be good to get some clarity on the static compilation roadmap in .NET because I like my job, but I also don't want to become a fulltime Go developer.[1] https://github.com/dotnet/corert/issues/7200#issuecomment-62...
[2] https://github.com/dotnet/corert
[3] https://devblogs.microsoft.com/dotnet/introducing-c-source-g...