Live data from Hacker News

.NET 6 Released

devblogs.microsoft.com

171–180 of 428 posts

Re: .NET 6 Released

#171

Been thinking about switching to Rider (already had the personal license for Jetbrains from wanting CLion for Rust) and figured .NET 6 would be a good time to try making the switch. With how blah VS has been for a while hopefully I'll like the Rider experience better (for both c# and f#) Edit: Though I saw something this morning when I tried to load an f# project I made in VS refused to load even though the new ones…

+1 for Rider. It’s one of the 2 .NET IDEs I know that don’t suck terribly (the other being the proprietary version of VSCode).

> proprietary version of VSCode

Do you mean Visual Studio? They don't share anything AFAIK

Re: .NET 6 Released

#172
post #44

Earlier quoted context omitted.

There is no GAC. > .NET Core and .NET 5 and later versions eliminate the concept of the global assembly cache (GAC)

Interesting. I haven't worked in .NET for several years now, but the GAC was always an absolute headache to deal with.

Thankfully they did not port this hell to Linux

Re: .NET 6 Released

#173
post #51

Is there any reason I should care about .NET today if I'm not already in the ecosystem? I've done C# professionally in the past, and C# is a good language. I wish Microsoft focused on open source and wider industry adoption for C#/.NET sooner so that it could have taken some share from Java. Now .NET is finally open source but Microsoft is a bad steward of the open source ecosystem for .NET, and I certainly wouldn't…

As someone who programs with .NET in their day job...no probably, not.

Outside of a few areas related to DDD, event sourcing, and some distributed-system frameworks (NServiceBus and MassTransit) there's really no killer app for .NET, in my opinion.

The big selling point for .NET now is that it runs on Linux...which is not really a selling point in the grand scheme of things.

Re: .NET 6 Released

#174

Earlier quoted context omitted.

+1 for Rider. It’s one of the 2 .NET IDEs I know that don’t suck terribly (the other being the proprietary version of VSCode).

> proprietary version of VSCode Do you mean Visual Studio? They don't share anything AFAIK

The binary VScode you install is different than an open source build. Microsoft doesn't want OS builds using the same package registery and I assume various tooling iirc

Re: .NET 6 Released

#175
post #170

Earlier quoted context omitted.

Kind of curious that Microsoft had a feature that was available in Linux but not Windows, no?

Yea, funny :D However, the problem was mostly deploying dotnet apps on servers which did not have dotnet installed. Windows has .NET installed anyway, so there the problem did not really exist

.NET (Core) 5 is not installed on Windows. Windows comes with .NET Framework 4.x.

I think the user interest was startup times of lambdas and containers. Therefore Linux was a priority.

Re: .NET 6 Released

#176
post #136
post #90

Earlier quoted context omitted.

IMO Java/.NET just don't get blogged about _on this site_. If you visit /r/Java, /r/dotnet etc, you'll actually find the content about them.

The issue with /r/dotnet is that most people there are almost fanatics. A single bad word about MS or any topic of the month like MediatR gets you downvoted to oblivion. There's almost no real discussion there.

Not a new thing. I recall the same fanaticism on big C# IRC channels back when .Net 2.0 was in beta.

Re: .NET 6 Released

#177
post #163

Earlier quoted context omitted.

No passable debugger, weird typing system, verbose error handling, lack of exceptions, generics, syntactic sugar ... I'm a novice at Golang, and I dislike much of the language, except that it's fast and can produce small binaries.

"verbose error handling, lack of exceptions" Exactly why I prefer Go to Java and C#.

Understandable, but it's a matter of taste. For people who prefer a language with exception, it's good that there now exist a viable solution other than sticking to a language that might not fit their taste so well.

It seems to me that F# could get a bit more love from HN-style nerds. Obviously, it's more similar to C# than Golang, but specifically error handling can be done in much nicer way using the Result type.

Re: .NET 6 Released

#178
post #174

Earlier quoted context omitted.

> proprietary version of VSCode Do you mean Visual Studio? They don't share anything AFAIK

The binary VScode you install is different than an open source build. Microsoft doesn't want OS builds using the same package registery and I assume various tooling iirc

Very interesting. I wasn't aware of that.

Re: .NET 6 Released

#179
post #118
post #79

Earlier quoted context omitted.

C# is fast and .NET core is cross-platform. It's good for games, web, and mobile development. F# is a great functional programming language. There are fun tools like SignalR (easy websockets), Blazor (write C# and run it in the browser through WASM), and LINQ (built right into the language and allows you to query objects like a database). Toplevel programs should make it easier to experiment with C# if you're interes…

> and LINQ Shudders at memories of coworkers writing giant, ridiculously inefficient LINQ queries without understanding how it's actually using the database and what it's doing server-side > Toplevel programs should make it easier to experiment with C# if you're interested. Definitely interested in that small feature :) If I had extra time I'd like to see what it takes to brew install dotnet and write a simple CLI pr…

> Can .NET deploy a static binary nowadays?

You can bundle everything in a single file but that file contains the runtime, so even small Hello World apps are 50MB+ last I checked, though there have been some improvements recently with trimming and AOT is hopefully coming next year with .NET 7.

Re: .NET 6 Released

#180

Been thinking about switching to Rider (already had the personal license for Jetbrains from wanting CLion for Rust) and figured .NET 6 would be a good time to try making the switch. With how blah VS has been for a while hopefully I'll like the Rider experience better (for both c# and f#) Edit: Though I saw something this morning when I tried to load an f# project I made in VS refused to load even though the new ones…

Rider likes not to stop execution for exceptions like visual studio does, but otherwise it’s great
Post reply on HN