It's a weird choice to have it opt in since all standard Microsoft packages are build with it on already. Doesn't really give a clear signal if it is safe to use or not.
There’s some areas where it can actually be a regression at the moment. Microsoft can check their own packages before enabling it but they cant do that for user projects.
It's because it's not trusted enough to be on by default. Standard Microsoft packages have good enough analytics to enable it and see the impact but enabling it in millions of projects all at once would be potentially bad.
Microsoft packages are compiled to use the new runtime async, not "to your spec". All it means is your code doesn't need to use it, but Microsoft will
 The .NET runtime libraries themselves are built with Runtime Async, but opting your application’s code into the new compilation model is a separate choice
Just thinking... It baffles me why .Net isn't actually the darling child of AI right now. As someone who knows c#/.net well, and currently battling with a typescript project, c# has everything going for it for AI assisted development.
It's a strongly typed language for starters (tsc doesn't force you to use types), but along with customisable Roslyn rules and incredible testing frameworks, C# should really be THE language for the AI era.
Everyone goes on about giving AI good guardrails. .Net has guardrails coming out the wazoo.
I'm staggered why MS isn't leading with that and promoting c# over ts, python, etc. now that it's platform-agnostic and even runnable as single-file scripts now.
C# has accidentally become the ideal agentic platform for quality codebases just at the right time, and Microsoft seems to be completely dropping the ball on positioning the most AI-friendly language ecosystem out there.
I just find that very frustrating and disappointing.
This is very speculative so take this with a grain of salt but I think a lot of it comes down to minor performance issues. .NET is very fast and fast enough for most tasks, but there are still issues like slow cold starts, relatively high RAM usage, and garbage collection pauses. This makes it difficult to use for stuff like game engines/emulators (GC pauses cause latency) and CLI tooling (slow cold starts can feel annoying). Now the cold starts and RAM usage is being addressed via AOT and you can reduce GC pauses manually. However, AOT doesn’t have full feature parity with JIT yet and it feels unnatural to have to tune GC.
I think it’s why devs are turning to Rust in this era. It’s one of the fastest languages out there, has an extremely strict compiler, and doesn’t deal with any of the issues I mentioned with .NET, but it is relatively more difficult to learn. With AI, it lowers the barrier to entry and allows a skilled .NET dev to potentially make the transition to writing Rust programs.
For most personal projects, I’ll stay on .NET and only turn to Rust if I need the absolute lowest RAM usage or latency.
I used to think like you, then we moved to full AOT, removed a lot of libraries not compatible with AOT and damn bro, now we are at the same performance of our best GO microsservices, what a time to be a .Net developer.
And with a few lines we already are at the latest .net 11
I respectfully disagree. I have just ported a fairly large bit of software to dotnet (thanks Claude) and have been tweaking it ever since. The performance (on windows) is equal, if not better than C++. I just had an issue yesterday in long loops where it recompiles mid run but I found I could optimize that out before the loop starts. There is just so many options to make c# fast.
The sheer number of awesome profiling tools you can use gives you a massive advantage over C++. Don't get me wrong, the tools are there for C++ but its just so much easier in C#.
I don’t disagree with you. It isn’t raw speed that’s the issue, it’s moreso RAM usage, cold starts, and GC pauses. AOT is bridging the gap, but there’s still GC pauses which is killer for ultra low latency applications.
I think it's because you don't need a magazine article to use AI tools with C#. I've been generating code with models for a year in C# now. I didn't ask if it was good, I just started using it. When I found it making mistakes, I adjusted agents files or wrote skills or changed how I prompt to give it examples of my desired style and practices.
It is, in my opinion, a waste of money to try and convince a person who likes Python to switch to C#. We can say language doesn't matter with AI tools all we want, but very few people are actually invested in a process that has no human involved. Agents make mistakes, and humans with good technical language knowledge can see those and explain how to fix them faster and with fewer tokens than people who lack that knowledge.
"Guardrails" are a bit of a myth. It doesn't matter if your software has layers to protect a caller from directly dropping tables. An agent with unclear directions may decide a vague requirement puts "drop the table" at a higher importance than "respect the architecture". So it will dutifully generate a back door that circumvents your guardrails. This is why working with a human in the loop and working in small enough chunks to respect human cognition is more successful.
There is no better example than the security scandal bonanza a couple of months ago. It was sold as "you need to use AI to fix the security holes in your software but look at the facts:
Companies used AI to generate their impenetrable sandboxes.
The AI tools were given tasks they could not achieve without penetrating the sandbox.
The AI tools found flaws generated by other AI tools and penetrated the sandbox.
It took a long time for the AI companies to realize their impenetrable sandbox wasn't perfect when, clearly, all they had to do is ask several different agents, "Can you discern a way to bypass this sandbox?" over and over for all eternity because you can't prove a negative.
AI software can't protect you from AI software. There are no 100% effective guardrails. Everything is as miserable as it used to be in software development, except now the barrier to deploy incredible mistakes is much lower than it used to be and we're encouraging more developers to pay less attention.
Mac and Linux are developer friendly. Developer ecosystem on macOS and Linux is relatively straight forward. Mature command line interface, reliable software repositories, first-class docker containers, and no bloatwares. Even on agentic coding, ChatGPT and Claude provides first class support on macOS and Linux. Windows is their second priority. e.g. I cannot make Codex work in my VS Code in my Windows laptop but never faced any issue on Mac or Linux.
Trust There was a period (till recently) when microsoft kept ditching their own development frameworks. Developers may forget but decision makers as the organization do not forget. It's not just Microsoft, even Google has also lost trust the similar way - remember Angular? It's architecturally far better web-dev framework than React (or Vue) but Angular has lost the respect of developers after Angular 2 disaster.
exactly. why bother at all? it seems that everyone now only cares about vibe coding (see latest VSC updates). so why care about some features to improve human's work? AI can write code fast and cheap, and even if it's written not adhering to design patterns, who cares (talking about management)?
.Net C# is second to none. Sometime ago I built a Coding agent in C# . You can search for Litosai.dev It can do almost everything which cursor or claude code caan do. I then went a step further and created a software factory in React and .Net which uses my C# coding agent.
41
u/Gloomy_Necesary 21d ago
I love a good .NET release article. Sucks that we have to wait for .NET 12 for runtime-async to be enabled by default but oh well !
18
u/sweetnsourgrapes 20d ago
Just thinking... It baffles me why .Net isn't actually the darling child of AI right now. As someone who knows c#/.net well, and currently battling with a typescript project, c# has everything going for it for AI assisted development.
It's a strongly typed language for starters (tsc doesn't force you to use types), but along with customisable Roslyn rules and incredible testing frameworks, C# should really be THE language for the AI era.
Everyone goes on about giving AI good guardrails. .Net has guardrails coming out the wazoo.
I'm staggered why MS isn't leading with that and promoting c# over ts, python, etc. now that it's platform-agnostic and even runnable as single-file scripts now.
C# has accidentally become the ideal agentic platform for quality codebases just at the right time, and Microsoft seems to be completely dropping the ball on positioning the most AI-friendly language ecosystem out there.
I just find that very frustrating and disappointing.
1
u/brissiebogan 14d ago
Damn.. I cant keep up. Only started learning C# properly (am C,C++ dev) a year ago and so much to learn...
But dang I am impressed.
1
u/Asta0059 4d ago
Got Something New To learn, Wow. Lets dig in....
1
u/Ready-Camp8192 9d ago
Sticking with .NET 8 for production apps for now: it's LTS and WindowsAppSDK builds are the constraint, not the runtime.
The jump worth planning is 8 -> 10 (both LTS); 9 and 11 are STS with 18 months of support, so upgrading to them just means upgrading again in a year.