Live data from Hacker News

.NET 6 is now in Ubuntu 22.04

devblogs.microsoft.com

61–70 of 351 posts

Re: .NET 6 is now in Ubuntu 22.04

#61
post #2

It has been rumored for years that Microsoft might acquire Ubuntu. This is an interesting move though not proof of any such future merger. All of that said, it would be nice if Microsoft had the same level of cooperation with Fedora and another distro or two as well. (And where the hell is support for .NET Core on FreeBSD???)

For FreeBSD support, see the following issue for the porting effort. The community has been working like hell to make it happen since 2015 and at this point we have regular unofficial builds: https://github.com/dotnet/runtime/issues/14537 About 2 months ago they crushed hopes that official FreeBSD support will happen anytime soon by clearly stating that at this point, updating their Quality Assurance process to suppo…

> The FreeBSD ports system insists on requiring third party applications to be able to be built from source offline, while the .NET build process downloads packages left and right at various parts of the process.

As someone who is not a part of the FreeBSD community, I just wanted to chime in to say that the FreeBSD Ports people are absolutely correct here, and that the build time behavior you describe is Bad Behavior™ that is likely to get in the way of any distribution (Linux or FreeBSD or macOS or anything else) that follows basic best practices with respect to build sandboxing on their CI/CD systems, build clusters, etc., even if it can eventually be hacked around.

Building software outside of a sandbox with restricted network access is how you get lovely exports like credential scrapers in your setup.py or your NPM install hooks, perhaps running as root. Downloading your dependencies at build time from within the build system without first emitting a manifest with hashsums of what you intend to download is a huge problem for reproducibility, too.

Re: .NET 6 is now in Ubuntu 22.04

#62
post #2

It has been rumored for years that Microsoft might acquire Ubuntu. This is an interesting move though not proof of any such future merger. All of that said, it would be nice if Microsoft had the same level of cooperation with Fedora and another distro or two as well. (And where the hell is support for .NET Core on FreeBSD???)

I've always thought that a Microsoft Linux distribution would be incredibly interesting. They could give the user experience a new round of polish without being weighed down by the years of legacy support, compatibility, and cruft on Windows.

Re: .NET 6 is now in Ubuntu 22.04

#63
post #32

Microsoft seems like "a house divided" when it comes to opening .NET. They open source the core language, but have different proprietary dev tools (debugging for one) you need to pay for. https://isdotnetopen.com/ goes over these in more detail, but I'd rather use an ecosystem where I don't have to worry things will be progressively locked down in the future.

The debugger is part of Visual Studio, which is a paid product. I don’t think it’s unreasonable to not publish the source for it.

Visual Studio Code also uses the debugger and that's a free tool marketed as open source. The open source version (VSCodium) doesn't ship a C# debugger for this reason.

Re: .NET 6 is now in Ubuntu 22.04

#64

Seems like great news but I wonder if these releases help the .NET ecosystem in a meaningful anyway. Almost all .NET developers I know still use Windows even on cloud.

At least 95% of our .NET workloads run on Linux.

oh boy! It seems I was wrong all along. thanks all for the replies

Re: .NET 6 is now in Ubuntu 22.04

#65

I've recently been working with a C# app that's based on a nearly out of support .net 3.X version I think. It's fully inherited from a tech partner, but we have free reign to modify it as needed. I was excited to try and port it from a Windows only older .net app to .net core 6, but unfortunately too much of it doesn't have a simple to port to equivalent in .NET 6 and it would require us to completely rewrite it. Thi…

There's always Rider which works very well for .NET stuff.

For older applications, I would consider Mono or WINE if you really want to run it on Linux. We are experiencing the same scenario where we have an application that was built on .NET 4 over 10 years ago and there's a couple of packages we rely on that will not work on .NET 5/6. We have a rebuild planned, but it will be a large overhaul.

Re: .NET 6 is now in Ubuntu 22.04

#66
post #37

And still, there is no Visual Studio for Linux, and Microsoft is committed ( https://isdotnetopen.com/ ) to ensuring that VSCode provides a second-class .NET experience to Visual Studio proper. Seems best avoided by any company which is not already a Microsoft shop.

Just grab Rider. Its really good.

Re: .NET 6 is now in Ubuntu 22.04

#69

Quoted post unavailable.

Not what that means. "embrace" as in EEE means embracing some pre-existing open source standard, prior to "extend"ing it with features and quirks that people start relying on. Thus making the standard irrelevant if the implementation that everyone actually uses is different.

.NET is their own thing to begin with and nobody suggests rewriting core pieces of Linux with it. It would be more accurate to say, based on the reports of .NET working better on Linux than on Windows, that they're promoting the embracing and extending of their own Windows ecosystem by the Linux ecosystem, because they feel that they'd benefit more on balance from keeping those customers on .NET and using Azure than they would by keeping them in the Windows ecosystem which is probably a lost cause anyway.

Re: .NET 6 is now in Ubuntu 22.04

#70
post #32

Microsoft seems like "a house divided" when it comes to opening .NET. They open source the core language, but have different proprietary dev tools (debugging for one) you need to pay for. https://isdotnetopen.com/ goes over these in more detail, but I'd rather use an ecosystem where I don't have to worry things will be progressively locked down in the future.

what? this is crazy. I have been using .net since 2001 and they have always had a community version or a free way of developing. There is no more concern using MS than there is using any other platform in my opinion. They are divided because they have different audiences, its ok, they are different service lines (corporate vs startup)
Post reply on HN