Live data from Hacker News

What Makes .NET Core So Special?

blog.jamesmichaelhickey.com

11–20 of 247 posts

Re: What Makes .NET Core So Special?

#11
post #2

this seems odd. The main advantage other than going faster than Node ( which you'd expect ) is that it's cross platform and can run in containers and has libraries.....like MOST other languages. Not knocking .NET Core, I use it a lot... but this just doesn't seem like it tells you what's special about it

There are a lot of .NET engineers who assume they can't use docker or run on Linux, and simultaneously a lot of other engineers who think if they build on .NET they'll be married to Windows or Azure. So I can see why the cross platform nature of it gets harped on a lot. Personally I think the strongest case for .NET is the C# language and associated tooling, but the only way to really appreciate that is to dive in.

Re: What Makes .NET Core So Special?

#12
post #2

this seems odd. The main advantage other than going faster than Node ( which you'd expect ) is that it's cross platform and can run in containers and has libraries.....like MOST other languages. Not knocking .NET Core, I use it a lot... but this just doesn't seem like it tells you what's special about it

I wonder if it is the garbage collected language with the highest performance ceiling now?

[deleted]

Re: What Makes .NET Core So Special?

#13
What about client-side apps? Is it possible to write a cross platform client app with .NET Core, a la Electron way? That would be my dream framework. I've been waiting for it for decades, seriously.

(I looked at Avalonia UI and mono/xwt. Not sure how stable/reliable they are.)

Re: What Makes .NET Core So Special?

#14
post #13

What about client-side apps? Is it possible to write a cross platform client app with .NET Core, a la Electron way? That would be my dream framework. I've been waiting for it for decades, seriously. (I looked at Avalonia UI and mono/xwt. Not sure how stable/reliable they are.)

Check Lazarus, it's not c# but Object Pascal, but it's a decent IDE for developing cross-platform GUI programs, it's concept is from Delphi which was from Visual Basic.

Code editor, GUI designer, UI framework, runtime library, debugger, everything is included and it's being developed actively for nearly 2 decades.

Re: What Makes .NET Core So Special?

#15

The post only mentions .NET Core, but should actually be mostly talking about ASP.NET Core that runs on top of .NET Core. The features such as dependency injection and Razor Pages are ASP.NET Core specific. Microsoft have announced that they will be porting WinForms and WPF over to .NET Core so that they no longer need the heavyweight .NET Framework. However, this DOES NOT make WinForms/WPF cross-platform. They will…

Microsoft.Extensions.DependencyInjection is developed as a ASP.NET Core extension but has no dependency on it.

https://www.nuget.org/packages/Microsoft.Extensions.Dependen...

Re: What Makes .NET Core So Special?

#16
post #2

this seems odd. The main advantage other than going faster than Node ( which you'd expect ) is that it's cross platform and can run in containers and has libraries.....like MOST other languages. Not knocking .NET Core, I use it a lot... but this just doesn't seem like it tells you what's special about it

Sanely designed/mature libraries I might add. I went through an exercise to build a simple web app with Rust and ASP.NET/Core - I was mind boggled how mature the .NET Core stack/ASP.NET felt compared to pulling in 3rd party crates that are constantly in flux. Even after you're done fighting them the code still looks daunting compared to C# - there is a certain cleanliness to it. Not criticizing Rust which is a very n…

The .NET ecosystem is a lot more mature than Rust's, there is no arguing that. As for code cleanliness, though, it's debatable. Rust has ADTs, Option, exhaustive pattern matching, Option and Result. C# doesn't.

Re: What Makes .NET Core So Special?

#17
post #2

this seems odd. The main advantage other than going faster than Node ( which you'd expect ) is that it's cross platform and can run in containers and has libraries.....like MOST other languages. Not knocking .NET Core, I use it a lot... but this just doesn't seem like it tells you what's special about it

Well.. I think some people might think "well I need to go faster than Node... so do I need to go to C? Java is slow too. But the C library ecosystem is _rough_...."

Nice infrastructure around the language + speed +... not being Rust (with all the difficulties that come with the language)? Is pretty interesting

Re: What Makes .NET Core So Special?

#18
post #13

What about client-side apps? Is it possible to write a cross platform client app with .NET Core, a la Electron way? That would be my dream framework. I've been waiting for it for decades, seriously. (I looked at Avalonia UI and mono/xwt. Not sure how stable/reliable they are.)

Electron.NET does exactly that https://github.com/ElectronNET/Electron.NET

Re: What Makes .NET Core So Special?

#19
post #13

What about client-side apps? Is it possible to write a cross platform client app with .NET Core, a la Electron way? That would be my dream framework. I've been waiting for it for decades, seriously. (I looked at Avalonia UI and mono/xwt. Not sure how stable/reliable they are.)

[deleted]

Re: What Makes .NET Core So Special?

#20

The post only mentions .NET Core, but should actually be mostly talking about ASP.NET Core that runs on top of .NET Core. The features such as dependency injection and Razor Pages are ASP.NET Core specific. Microsoft have announced that they will be porting WinForms and WPF over to .NET Core so that they no longer need the heavyweight .NET Framework. However, this DOES NOT make WinForms/WPF cross-platform. They will…

You can use the DI stuff without ASP.Net Core though?
Post reply on HN