Many of the features (Dependency injection, etc) seem only to be available for ASP.Net Core. What about cross platform desktop applications? Do we have a GUI layer that is cross platform as well?
What Makes .NET Core So Special?
21–30 of 247 posts
Re: What Makes .NET Core So Special?
#22Earlier quoted context omitted.
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.
F# is probably a better competitor to Rust than C# though.
Re: What Makes .NET Core So Special?
#23What 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?
#24this 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?
The goal of RyuJIT is understandable code and predictable machine code. HotSpot aims for performance at all costs. Many HotSpot features have been moving over to RyuJIT, even more are planned. I've always been envious of HotSpot. The main feature I've been envious of is its namesake: it aggressively optimizes hot spots. .Net now has this (tiered compilation), but it's still ultimately as-conservative as the compiler a few years back.
The hill that Java has to climb over is the extreme degree of "enterprise code." ASP.Net core is designed with the predictable performance profile of .Net in mind. Java has, well, this[1].
[1]: https://ptrthomas.files.wordpress.com/2006/06/jtrac-callstac...
Re: What Makes .NET Core So Special?
#25What 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?
#26this 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 agree, they can do a better job articulating what is “awesome”. For me personally, there are 3 main reasons that I have been super excited about .Net core: 1. It is C#, in my opinion the best statically typed language. The easiest way I have described it to other folks is it is Java++. Combine it with really good intelligence, and it is like the code “flows out of you”. Part of the reason for that is the effort put…
Roslyn is the C#/VB compiler and analysis tool. Yes, that allows you to compile C#. No, it doesn't have anything to do with performance. That's where other things come in, like RyuJIT, or .NET Native.
Re: What Makes .NET Core So Special?
#27this 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 agree, they can do a better job articulating what is “awesome”. For me personally, there are 3 main reasons that I have been super excited about .Net core: 1. It is C#, in my opinion the best statically typed language. The easiest way I have described it to other folks is it is Java++. Combine it with really good intelligence, and it is like the code “flows out of you”. Part of the reason for that is the effort put…
I like C# but know where it stands.
Re: What Makes .NET Core So Special?
#28What 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?
#29Many of the features (Dependency injection, etc) seem only to be available for ASP.Net Core. What about cross platform desktop applications? Do we have a GUI layer that is cross platform as well?
Re: What Makes .NET Core So Special?
#30this 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