Live data from Hacker News

.NET 6 is now in Ubuntu 22.04

devblogs.microsoft.com

101–110 of 351 posts

Re: .NET 6 is now in Ubuntu 22.04

#101
post #50

For reasons currently unclear to me, installing this seems to cause apt to remove Discord. The following packages have unmet dependencies. libc++1-14 : Depends: libunwind-14 (>= 1:14.0.0) but it is not installable libc++abi1-14 : Depends: libunwind-14 (>= 1:14.0.0) but it is not installable E: Unable to correct problems, you have held broken packages.

it's always the same debian / ubuntu package mess. moving to Arch has made this specific headache entirely go away

Re: .NET 6 is now in Ubuntu 22.04

#102
post #34

Meh. In the end, Microsoft will betray those who trusted it. Long term, better just to pretend it does not exist and never, ever depend on anything with Microsoft name on it.

Millions of businesses run on Microsoft platforms and software developed on/for Microsoft platforms for decades. I think you are painting darker picture than it really is. Or please elaborate a little what you mean by "betraying".

I believe, sooner or later, MS will put some arbitrary restrictions on .net or some part of its toolchain, forcing users to purchase a license to make it usable. It will probably involve "cloud" to sign/notarize your binaries to distribute them and give MS complete control of the ecosystem.

Obviously, I have no idea what exactly will MS do, but after reaching some adoption target, MS will try to extract as much money as it can, because that's what they do.

The other posters in this thread mentioned the debugger is still proprietary. Anyway, I'm not touching this.

Re: .NET 6 is now in Ubuntu 22.04

#103
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.

Yeah, but the general standard is for open languages to either have an open debugger (e.g.: V8 JS) or else otherwise have support for an open debugger interface (e.g.: Rust via GDB).

It's not strictly unreasonable for MS to offer a proprietary debugger, but it is bass-ackwards for the core .NET team to not offer an open source debugger or open standards compliant debugger interface to go with their open source language.

Re: .NET 6 is now in Ubuntu 22.04

#104
post #34

Meh. In the end, Microsoft will betray those who trusted it. Long term, better just to pretend it does not exist and never, ever depend on anything with Microsoft name on it.

It's MIT licensed. If they do then it can be forked and community maintained. It could be similar to the mass forking of projects when Oracle acquired Sun. .NET now has a way bigger community than a lot of those projects did and they thrived.

Re: .NET 6 is now in Ubuntu 22.04

#105
post #45
post #35

I don't keep up with desktop dev, but can I develop a Linux UI using C# and .NET yet?

Check https://avaloniaui.net There's also https://github.com/dotnet/maui from Microsoft but it's not mature yet.

Last I saw MAUI for Linux hasn't shipped yet, to the sadness of many. Avalonia is probably your best bet if you want Linux support for now.

Re: .NET 6 is now in Ubuntu 22.04

#107
post #50

For reasons currently unclear to me, installing this seems to cause apt to remove Discord. The following packages have unmet dependencies. libc++1-14 : Depends: libunwind-14 (>= 1:14.0.0) but it is not installable libc++abi1-14 : Depends: libunwind-14 (>= 1:14.0.0) but it is not installable E: Unable to correct problems, you have held broken packages.

Ubuntu's .NET runtime relies on libunwind v13. Discord relies on libunwind v14. apt only allows one version of something to installed at once.

Re: .NET 6 is now in Ubuntu 22.04

#108
post #34

Meh. In the end, Microsoft will betray those who trusted it. Long term, better just to pretend it does not exist and never, ever depend on anything with Microsoft name on it.

Millions of businesses run on Microsoft platforms and software developed on/for Microsoft platforms for decades. I think you are painting darker picture than it really is. Or please elaborate a little what you mean by "betraying".

You're right. They run on Microsoft platforms. For decades. Not Linux.

Re: .NET 6 is now in Ubuntu 22.04

#109
post #30

Earlier quoted context omitted.

.Net has run better on Linux (edit: better than on Windows) machines since at least before the pandemic. I'm a Java dev, but I have also developed on .Net and running modern .Net on Linux is about as simple as it get.

Does visual studio run on linux yet? That's my rubicon for taking .net seriously. It's not just about the runtime, the tooling has to be present as well.

No, but they make a high quality plug in for VS Code which gives you a similar overall experience, as well you can use JetBrains C# IDE which is very good and often preferred even on Windows.

Re: .NET 6 is now in Ubuntu 22.04

#110
I wonder if this opens the door for .NET applications to be included in Ubuntu? Neither this blog post nor Ubuntu’s [1] mention that as a possibility.

Just thinking from a Ubuntu package level, where libraries live in packages separate from executables, it might be possible to create library packages using the result of ‘dotnet store’. Then executable packages could reference them when running ‘dotnet publish’. [2] That way multiple executable packages could share common libraries.

Replicating the packages of a language package manager (Nugget in this case) into a system package manager (apt in this case) is probably not fun. You will end up with dependency nightmares or one system package per version of Nugget package. So maybe it’s not worth doing.

[1]: https://ubuntu.com/blog/install-dotnet-on-ubuntu

[2]: https://docs.microsoft.com/en-us/dotnet/core/deploying/runti...

Post reply on HN