Live data from Hacker News

.NET 6 Released

devblogs.microsoft.com

281–290 of 428 posts

Re: .NET 6 Released

#281

Earlier quoted context omitted.

That's exactly what it is. You can even cross-compile for all supported platforms. $ dotnet new console -n HelloWorld $ dotnet publish --project HelloWorld -r osx-arm64 --self-contained -o out -p:PublishTrimmed=true $ du -sh out 10M

I haven't used .net. But how memory management happens when you are running a binary executable? Does it have a builtin CLR (Common Language Runtime[1])? Because CLR provides the tools for managing memory & security? [1] https://en.wikipedia.org/wiki/Common_Language_Runtime

Yes, it embeds the CLR in to the application see the PR at https://github.com/dotnet/runtime/issues/43072

Re: .NET 6 Released

#282

Earlier quoted context omitted.

Why would you want to style standard controls in a desktop app? They should look the way they look everywhere else in the OS.

Windows has multiple competing standards in the same OS, even from their own software distributed with the OS. It’s embarrassing.

Every once in a long while (very long now) you'll stumble across a dialog box that looks like it's from Windows 3.1. ODBC is one of them that's still that old.

Re: .NET 6 Released

#283
post #29
post #26

Earlier quoted context omitted.

>> Single files apps no longer extract any core runtime assemblies to temporary directories I might be ignorant here but if you're not specifically pointing out what version DLL's you want, aren't you in fact publishing a dynamically linked executable instead of a statically linked one? Doesn't these single-file apps rely on the GAC?

The whole runtime gets included in the binary.

How much does this add to the binary's size?

Re: .NET 6 Released

#284
post #34

As a relatively new engineer (~2 years FAANG experience), there seems to be a connotation around .NET. Perhaps this is indicative of the larger Microsoft ecosystem, but it feels like my peers at university and in the industry tend to stay far away from .NET for personal projects, etc. Why is this?

Perceived cool factor, I think. Both .NET/C# and Java are the core of Dark Matter Development [0]. They're what a huge chunk of developers and enterprise actually use but they're not cool and they don't get blogged about. Obviously the history of EEE and Windows only legacy means there's a lot of hostility to anything .NET specifically amongst a subpopulation of developers. However I don't think it sufficiently expla…

Don't think it's just about coolness.

In .NET there is usually one way to do things, the MS way. You don't have options. Whatever MS prescribes is practiced by most enterprise shops. I remember arguing for something closer to MVC (several open source solutions) when ASP.NET forms was the way to do things. It wasn't until ASP.NET MVC came out that enterprise shops came on board.

I still see a lot of documentation that shows Visual Studio screenshots. How am I supposed to do that on Linux? .NET still feels like a Windows first solution. You will not find official docs for Python, Node or Go using OS-specific IDE or editor screenshots.

Re: .NET 6 Released

#285
post #69

Earlier quoted context omitted.

Three years doesn't seem very "long".

Indeed, but it seems to be close to the current "industry standard" at this point, for instance: Node LTS is 12-months support plus 24-months "extended security support". (Three years total) Which is not far from say Ubuntu LTS at five years. (Python and Ruby have more confusing security fix policies than LTS/stable designations, but both are relatively close to the 3-5 year mark for security fixes.) Definitely not "…

If you pay Canonical you get 10 years for Ubuntu LTS, about the same as paying Microsoft for Windows Server/Enterprise.

Re: .NET 6 Released

#286

Earlier quoted context omitted.

Windows has multiple competing standards in the same OS, even from their own software distributed with the OS. It’s embarrassing.

It is, but there's still a standard system style that the majority of the apps are expected to use. Which is exactly what WPF uses - it's fairly easy to see if you take a WPF app and observe the differences on Win7/8/10. In any case, surely, adding yet another different style only makes the problem worse.

https://www.reddit.com/r/Windows11/comments/o2a0kp/there_are...

Re: .NET 6 Released

#287

Earlier quoted context omitted.

It is, but there's still a standard system style that the majority of the apps are expected to use. Which is exactly what WPF uses - it's fairly easy to see if you take a WPF app and observe the differences on Win7/8/10. In any case, surely, adding yet another different style only makes the problem worse.

Right now if i open a Sysinternals app I’ll have the text in the UI rendered in one way and the title bar rendered in another. It’s jarring.

Not to mention they behave differently with respect to HiDPI.

Re: .NET 6 Released

#288

Earlier quoted context omitted.

Perceived cool factor, I think. Both .NET/C# and Java are the core of Dark Matter Development [0]. They're what a huge chunk of developers and enterprise actually use but they're not cool and they don't get blogged about. Obviously the history of EEE and Windows only legacy means there's a lot of hostility to anything .NET specifically amongst a subpopulation of developers. However I don't think it sufficiently expla…

"Dark Matter Development" -- finally I have a name for it! Sometimes you see articles on the Internet where someone basically says something along the lines of "All developers use the Linux bash command-line workflow", and I just look at statements like that and wonder what on earth are they talking about!? I have never seen a developer familiar with the command line. I have never seen a developer willingly use a Lin…

I agree. I am from India. My whole life I have used Windows. Usage and teaching of Unix / Linux is severely limited to top universities, and only because they copy the US university culture (most professors are US educated)

90% of the articles on the web, are 100% certain that I have a use VIM / Emacs, on a Linux machine.

Where are the articles that focus on the rest of us?

Re: .NET 6 Released

#289
post #90

Earlier quoted context omitted.

Perceived cool factor, I think. Both .NET/C# and Java are the core of Dark Matter Development [0]. They're what a huge chunk of developers and enterprise actually use but they're not cool and they don't get blogged about. Obviously the history of EEE and Windows only legacy means there's a lot of hostility to anything .NET specifically amongst a subpopulation of developers. However I don't think it sufficiently expla…

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.

Getting blogged on this site is the goal.

Getting blogged on a site that is dedicated to that tech is not noteworthy.

You can find such blogs or forums for every obscure language that has more than a 1000 users.

Re: .NET 6 Released

#290
post #34

As a relatively new engineer (~2 years FAANG experience), there seems to be a connotation around .NET. Perhaps this is indicative of the larger Microsoft ecosystem, but it feels like my peers at university and in the industry tend to stay far away from .NET for personal projects, etc. Why is this?

.NET 6 (or 5, or Core 3.1) is absolutely fine for personal projects. The tooling is great, it runs on Windows and Linux, the web stack is miles better than Spring Boot. But if your personal projects are a stepping stone to a programming job, then .NET has a monstrous legacy problem. In 2002-2007 a lot of code was written using .NET in enterprises: it was the best way to write a rich desktop application for Windows an…

>then .NET has a monstrous legacy problem

Every enterprise targeting technology has the same issue.

In fact, that legacy is an opportunity to move into modern stacks.

Post reply on HN