‹ BackHN Continuity

Thread

Performance Improvements in .NET 11

349 points · 112 comments · soheilpro

  1. bjoli · · focus · HN ↗
    I hope there will be some kind of runtime async support for the current or a new asyncmethodbuilder. That is amazing work.
    1. SideburnsOfDoom · · focus · HN ↗
      I'm not sure what you mean exactly?

      Here is the &quot;Runtime async&quot; section: <a href="https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;dotnet&#x2F;performance-improvements-in-net-11&#x2F;#runtime-async" rel="nofollow">https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;dotnet&#x2F;performance-improvemen...

      I&#x27;m not sure if this will surface as an &quot;enabled by default&quot; feature in .NET 11 - indeed there may not be a final decision on that yet. But it is an active area of work that will arrive sooner or later.

      1. afdbcreid · · focus · HN ↗
        `AsyncMethodBuilder` is a way to declare async methods that return your own task types. AFAIK it is not supported with the current runtime async, and maybe never will be - it&#x27;s quite hard to support, I believe.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.