News for hackers. Stuff that matters.
Re:Reinventing how .NET builds and ships (again) by zem on Tuesday November 25, 2025 @07:50PM (#46052789)
one thing that struck me was that the foundation for this effort was the linux distro build system. in other words, the work they put into making .net open-source and cross-platform eventually made everyone's lives easier.
Re:Reinventing how .NET builds and ships (again) by oaiey on Wednesday November 26, 2025 @02:15AM (#46054950)
I think .NET is way beyond the situation that they question their open source move. The amount of pull requests and positive outcomes for them in the last 10 years (yeah that long already) is mind blowing.
Re:Reinventing how .NET builds and ships (again) by zem on Wednesday November 26, 2025 @02:45AM (#46055121)
yeah, I didn't mean that it was evidence the open source move was successful or valuable, more that it showed that the engineering effort that went into the open sourcing also yielded dividends for the project in general
Re:Reinventing how .NET builds and ships (again) by mmitche-msft on Wednesday November 26, 2025 @10:11AM (#46058108)
Author of the post here,

We wanted the option for distro maintainers to include .NET in the native distro package feeds. This means that distro maintainers have to build the product, not us, and that means creating a build system that meets their requirements. So you either end up with two build systems, or you try and unify. The only direction that it's feasible to go is towards the Linux distro model. It's the most restrictive.

The good news is that the distro model is SIMPLER. It may not be the most performant. A really good distributed system with caching would be far faster. But that's not a solution that's easy to implement or compatible with distro maintainer workflows. Optimizing for simpler in this case is better though. We want the community to be able to participate in a meaningful way. Build for BSD, build for S390x, build and include in distro feeds, etc. We can't feasibly support every platform and scenario that the community wants.

Re:Reinventing how .NET builds and ships (again) by debugnik on Wednesday November 26, 2025 @10:15AM (#46058163)
I glad to read this. One of my long-term concerns with .NET, compared to other language ecosystems, is the risk that only Microsoft people might know how to build it and port it. Is any distro actually shipping .NET SDK packages built from source?
Re:Reinventing how .NET builds and ships (again) by lbussell on Wednesday November 26, 2025 @11:07AM (#46058825)
Yes - Ubuntu, Alpine, Fedora, and others. [1]

[1]: https://github.com/dotnet/source-build/blob/main/README.md#n...

Re:Reinventing how .NET builds and ships (again) by debugnik on Wednesday November 26, 2025 @04:00PM (#46062256)
Thanks for the reference. I had memories of having to install a Microsoft repository to install the SDK, that's an improvement.
Re:Reinventing how .NET builds and ships (again) by mmitche-msft on Wednesday November 26, 2025 @11:26AM (#46059096)
Yes, Canonical, RedHat, Fedora, Alpine, Centos, and Arch Linux. NixOS and nixpackages too.
Re:Reinventing how .NET builds and ships (again) by debugnik on Wednesday November 26, 2025 @04:02PM (#46062271)
Looks like I missed progress during the time I've been away from dotnet, thanks. I still had memories of having to install an MS repo for that.
Re:Reinventing how .NET builds and ships (again) by johnzabroski on Wednesday November 26, 2025 @09:20PM (#46064814)
"old man yells at clouds." :)
Re:Reinventing how .NET builds and ships (again) by debugnik on Thursday November 27, 2025 @02:41AM (#46066756)
Not at all! Looking at the package dates, distros have started shipping their own source builds during 2022-2024, starting with .NET 6-7.
Re:Reinventing how .NET builds and ships (again) by zem on Thursday November 27, 2025 @01:56PM (#46072191)
that sounds awesome. having wrestled with complex build setups I'm a big fan of simple and reproducible, though as you say there's definitely the temptation to do things to improve performance at the expense of simplicity.