Live data from Hacker News

.NET 8

devblogs.microsoft.com

91–100 of 374 posts

Re: .NET 8

#91
post #22

Earlier quoted context omitted.

In their defence, does any other language have one, these days? The landscape hardly looks good, which is how electron et al. got so popular to begin with.

Java and Python have a few. I still don't get how electron got so popular. It's always been pretty straightforward to ship an app with a self-contained Java runtime, much the same as electron ships with v8. Java GUIs have always been worse than c++ ones, but still.. much better than electron I'd say

And now try to get either to work mobile, or in a browser, or at least try to share frontend code between them. That's where electron shines, and all the "classic" frameworks really don't. QtQuick and JavaFX kiiiind of work for at least some platforms, but it's fairly rough all considered, even compared to the inelegant brute force solution of electron.

I'd put my money on the competing "electron, but smarter" solutions that keep bubbling up, rather than any language-centric framework.

Re: .NET 8

#92
I haven't touched .NET in well over a decade. Last time I tried, I felt like a chimpanzee strapped into the cockpit of an F-15. Everything was "deploy!" and "endpoint for automatic upgrades" and "ENTERPRISE" and "web service."

Does .NET have any "write a small program that is only a CLI?" options? Or GUI instead of web interface? Something modest.

Re: .NET 8

#93
post #6

Apart from the very welcome QoL features in C# 12 (collection literals, primary constructors for ordinary classes), the "Aspire" announcement is very interesting. Haven't decided yet if its a good thing or too much "magic".

Kind of annoyed - I just spent the past week getting familiar with Dapr, and now there's Aspire which seems to have similar goals and is also funded by Microsoft: the Azure CTO even wrote the introduction to the Dapr for .NET Developers book! And of course the Aspire announcement makes no mention of Dapr - I wonder if the teams have even spoken to each other!

https://github.com/dotnet/aspire-samples/tree/main/samples/A...

Re: .NET 8

#94

Adding spreading is neat, but curious why they chose to go the two dot route instead of three. It's been a while since I've worked in C#, so I can't remember if there are any reserved implications of three dots.

[deleted; I was wrong]

Re: .NET 8

#95
post #11

I just wish its cross-platform UIs weren't such a mess. Particularly with its MVCish implementation, it was like it couldn't decide what it wanted to be. I really really wish there was a good, straightforward desktop GUI for .Net that simply worked crossplatform and wasn't a complete pain in the ass to program.

Not first-party, but AvaloniaUI is doing pretty well in the cross platform department.

AvaloniaUI is miles ahead of any other cross platform library that I've ever used. It actually looks good!

Re: .NET 8

#96
post #49

Lots of very cool stuff here (AOT, Aspire, etc.). .NET has been held down by the image of its early days, but it has become a pure joy to work with recently. The improvements in tooling and ergonomics have made it a replacement for Go in our org (we migrated from .NET Core 3.1 to Go back to .NET 6 recently).

At least until it gains an immense market share and Microsoft starts monetizing it again. They've already tried in .NET Core 7, no? I'm staying away for now.

There is no such thing as .NET Core 7, “Core” was a temporary distinction when the Windows-only . NET Framework was still being actively developed, retired with the consolidation to a single .NET with .NET 5.

If you got .NET Core 7 somewhere, I’m sure it is monetized: that's often the point of a scam.

Re: .NET 8

#97
post #51

Lots of very cool stuff here (AOT, Aspire, etc.). .NET has been held down by the image of its early days, but it has become a pure joy to work with recently. The improvements in tooling and ergonomics have made it a replacement for Go in our org (we migrated from .NET Core 3.1 to Go back to .NET 6 recently).

Big difference is that Go is stable and conservative, net core keep adding a billion features every release. Looking at some net core 2/3 stuff and now to see how many things changed. Good luck with your code base in 5 years when someone decide to add all the new stuff.

[deleted]

Re: .NET 8

#98

I'd love to hear from some .NET fanatics, how would you convince someone to use that ecosystem over another?

.NET/C# + Visual Studio [Code] + Azure DevOps + Azure Cloud = Everything is guaranteed to work for what a software company needs, with full documentation, examples, and a history of variants to explore. You simply don't have to spend too much time researching what to do, just follow the docs and get started writing code and delivering features. If you stray from the full integration of MS products, you start to lose…

No love for AWS huh? I've been impressed by how well their Lambdas work with NativeAOT (they make first-party effort to support it) for low cold-start latency. They have even sponsored further development of Dapper AOT recently.

It's crucial for other major players on the market to participate in .NET if we want to ensure its longevity.

Re: .NET 8

#99
post #88

Earlier quoted context omitted.

Can you share any details about .NET Core 7's monetization? I couldn't find anything on Google.

I think it was related to tooling. Something about hot reloading. Can't remember the details.

You're thinking of https://github.com/dotnet/sdk/issues/22247

Re: .NET 8

#100
post #51

Lots of very cool stuff here (AOT, Aspire, etc.). .NET has been held down by the image of its early days, but it has become a pure joy to work with recently. The improvements in tooling and ergonomics have made it a replacement for Go in our org (we migrated from .NET Core 3.1 to Go back to .NET 6 recently).

Big difference is that Go is stable and conservative, net core keep adding a billion features every release. Looking at some net core 2/3 stuff and now to see how many things changed. Good luck with your code base in 5 years when someone decide to add all the new stuff.

I don't know Go that much, but the part about .Net is so untrue. First, C# was published in 2001, while Go was released in 2009. So there's 8 years of "more stuff".

Also (see in comments too), upgrading .Net is very easy. There are man not-to-small codebases can be "easily" upgraded from .Net Core 3 to 8 without any hassle. Backwards comptability was always baked into Microsofts thinking.

.Net 7 and 8 did also (IMHO) not contain that many groundbreaking features, just some "smaller" stuff.

Post reply on HN