3 ms·
The C# compiler for example is written in C# so you need a functioning .NET runtime in order to compile the compiler and standard library. That doesn't mean you
by kevingadd 5y ago
The C# compiler for example is written in C# so you need a functioning .NET runtime in order to compile the compiler and standard library. That doesn't mean you can't build from source though, there aren't any special binary blobs you need to build .NET. For example, a csc (C# compiler) built using the open source Mono runtime will work just as well as one built using an open source build of .NET Core or one built using the .NET Framework binary blobs.
- bob1029 5y agoWhy can't we just take the existing .NET 6+ SDK product roadmap and add the bare minimum OS-level capabilities such that you could boot directly into the console of the app? I'm imagining a something like .NET 6 SDK combined with a minimal Linux distribution, and a special dotnet publish command that outputs a vhd/bin file that can be directly booted from disk. Over time, the .NET stack could consume bits and pieces of what it's hosting layer provides with objectives of totally replacing it, ship of theseus-style.
- kevingadd 5y agoThis isn't relevant enough to the average user to make it onto the SDK roadmap. If community members contributed it I bet it would probably get welcomed into the larger ecosystem though. FWIW some maintainers have been tuning .NET for Alpine Linux, so if you just want a small container to host .NET apps you should give that a try.
- pjmlp 5y agoHere if you want something bare metal style, https://www.wildernesslabs.co/ https://www.wildernesslabs.co/