Live data from Hacker News

.NET 10

devblogs.microsoft.com

81–90 of 605 posts

Re: .NET 10

#81
post #47
post #2

For us, every .NET upgrade since .NET 5 has gone surprisingly smoothly and reduced CPU/RAM usage by 10–15%. We were even able to downgrade our cloud servers to smaller instances, literally. I wish .NET was more popular among startups, if only C# could get rid of the "enterpisey" stigma.

As a startup, what is it in for me to switch from Java, Spring Boot, Hibernate, Beam, Flink, Pulsar, Vault, KeyCloak ecosystem to C#.Net? Is the documentation better? Do I get better performance? Is the community larger and more stable?

Vault, Keycloak, Flink are language agnostic or there exist bindings for most popular languages.

Documentation is vastly better compared to Java ones, it's like day and night, LINQ is vastly superior to anything that Java offered - but i haven't used java in a very long time. And every time i had to write java it felt like i went backwards in time by 5-10 years.

If i remember right Java's webserver beats ASP.NET in performance benchmarks but .net's one performance is good enough that it does not matter until you hit really big usercount - and at that point you usually have to rethink your architecture anyways.

But frankly .net is still mostly Microsoft Java but with better developer ergonomics in my opinion. It did shed a lot of overengineered OOP legacy from .net framework days though and we're seeing major performance improvements with every version.

Re: .NET 10

#82
Every time I read about new .NET version improvements I always remember my attempt to get a job using this stack in my local job market (Greece), where .NET Framework is super prevalent, majorly used by classic companies that don't even give you a fair technical chance if you lack a degree, and the devs are considered to be a cost center.

I really, REALLY wish I was in another timeline where I could say in an interview "yes, I use Linux on my desktop and Rider for my IDE" without being seen as a traveler from outer space.

I enjoy working with modern C# way more than node.js but... that's it.

Re: .NET 10

#83

C# has the best ecosystem out there. I wish CPP development was as robust as C# development is

They are very different beasts.. What problems are you having with CPP that you're not with C# ? Funny enough a lot of the 'ecosystem' is on the back of cpp..

Re: .NET 10

#84
post #31

Earlier quoted context omitted.

I wish people stopped conflating web programming with the whole realm of software development.

If you ignore Android / iPhone, where language choice is limited, practically all other development is web.

> practically all other development is web

This is a pretty ignorant take.

Re: .NET 10

#85

Earlier quoted context omitted.

The go-to nowadays is System.Text.Json, developed by the same person as Newtonsoft.Json, built in to .NET. Newtonsoft.Json as the primary JSON serializer (at least in every place I've worked) has NOT been the case versus System.Text.Json for years. Though it certainly used to be the case.

Uh okay! I was not aware of this. Thanks for pointing that out. Why is there so much difference in the NuGet downloads between both libraries tho?

System.Text.Json ships as part of the shared framework in recent versions of .NET so for most users it won't be restored from nuget.org

Re: .NET 10

#86

Earlier quoted context omitted.

The go-to nowadays is System.Text.Json, developed by the same person as Newtonsoft.Json, built in to .NET. Newtonsoft.Json as the primary JSON serializer (at least in every place I've worked) has NOT been the case versus System.Text.Json for years. Though it certainly used to be the case.

Uh okay! I was not aware of this. Thanks for pointing that out. Why is there so much difference in the NuGet downloads between both libraries tho?

System.Text.Json isn't needed as a nuget library for newer development, the library is only needed for older stuff.

Those older stuff are likely running newtonsoft.Json anyway.

There's also a load of .NET Framework applications still running Newstonsoft.

Re: .NET 10

#87
post #83

C# has the best ecosystem out there. I wish CPP development was as robust as C# development is

They are very different beasts.. What problems are you having with CPP that you're not with C# ? Funny enough a lot of the 'ecosystem' is on the back of cpp..

Evaluating complex expressions during debugging.

In c# I can evaluate complex linq data transformation in watch window in visual studio during debug, at fly.

In cpp I cannot. Not even nested evaluation is working.

Re: .NET 10

#88
post #70

Earlier quoted context omitted.

Start-ups should strongly consider F#. It's a force multiplier when you have a small team of strong developers.

>startups should consider niche language with extremely limited hiring pool. sure, but only if you're doing something that actually demands it - and actual innovation - instead of usual 'lets repackage XYZ as SaaS and growthhack' strategy.

It's good for, and I am not being sarcastic or snarky, justifying high pay and gate-keeping. Developers should set up more barriers for entry - look at doctors and lawyers.

Re: .NET 10

#89
post #27

Earlier quoted context omitted.

I really like F# (as I like OCaml, Elm and Haskell); but I'm always afraid MS will kill it one day. It helps that now most (if not all) parts of the stack are open source and run on Linux.

Where is this worry coming from? (I'm curious, not shutting it down) I might be biased from having worked with production F#, but it feels more like functional is making its way into C#, as the general industry sees value in functional principles. So F# feels like its more here to stay?

Doesn't it feel like the functional stuff is coming into C# so that F# can disappear? Pure speculation on my part but doesn't seem unreasonable.

Re: .NET 10

#90

Earlier quoted context omitted.

> practically all Define “practically all”. I would accept “clear majority”. But practically all? Nah. I mean the hot new areas for funding right now are AI and robotics neither of which are web! I’m coming up on 20 years professional experience. Exactly none of it has been mobile or web! The programming field is so much bigger than HN likes to pretend.

>I mean the hot new areas for funding right now are AI and robotics Most developers are not in such startups. There is a lot of boring software out there which is a website. Even for AI, the first company that comes to mind OpenAI is known for ChatGPT, a web product. Most of the AI companies are building web products.

That is software with a web interface. Only a small part of OpenAI's work deals with web related things.
Post reply on HN