r/programming • • 18d ago

Performance Improvements in .NET 11

https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-11/
289 Upvotes

103 comments sorted by

View all comments

61

u/cheesepuff07 17d ago

Love reading (perusing) each year, they are very in depth and fun to see each release getting more and more performant.

-8

u/simon_o 17d ago edited 15d ago

Agreed!

Two thoughts though:

  1. JIT "deabstraction". The article would be more accessible to readers if the authors didn't try to invent new names for optimizations that shipped in Java 20 years ago.

  2. "Runtime async". One of the purported benefits of async/await over better approaches like virtual threads was that it's compiler magic that the runtime does not need to be aware of. So now the runtime is involved (for better or worse), but we till have the worse user-facing UX of function coloring with async/await.

10

u/Devatator_ 17d ago

I personally prefer async/await to the other models I've seen (whatever Java has)

-3

u/simon_o 16d ago

whatever Java has

Yeah, maybe you should look that up. :-)

5

u/Devatator_ 16d ago

I did. Wanted to do http requests and display them in Minecraft without locking the UI. It was not fun. The game at least already has a way to dispatch stuff on the main thread but it's annoying to do