Performance Improvements in .NET 11

(devblogs.microsoft.com)

110 points | by soheilpro 1 day ago

7 comments

  • AlexErrant 7 minutes ago
    Dumb Q: should a non-systems-language dev know/read assembly?

        ; Arm64
        --- .NET 10
        +++ .NET 11
        @@ -13,8 +13,6 @@
                    ble     G_M000_IG04
    
        G_M000_IG03:
        -            cmp     w1, w2
        -            bhs     G_M000_IG05
                    str     wzr, [x0, w1, UXTW #2]
    
        G_M000_IG04:
        @@ -25,4 +23,4 @@
                    bl      CORINFO_HELP_RNGCHKFAIL
                    brk     #0
    
        -; Total bytes of code 68
        +; Total bytes of code 60
    
    I know C#/F# decently well, but is there any reason to actually pull out the ol textbooks and learn wtf the above is saying?
    • flowerlad 1 minute ago
      No. If you're a low-level C language programmer then it is useful.
  • gerdesj 48 minutes ago
    Spinal Tap's "put it up to 11". My laptop (Kubuntu) has volume controls that allow me to override 100% and take it to 150%.

    I can wind it up to 15! \||/ (is there an official ASCII art four finger devil's horns)

  • adzm 1 day ago
    Runtime async is certainly an interesting development. Really excited to see how this plays out.
  • kristianp 47 minutes ago
    > The sections that follow are full of real improvements. A bounds check removed, an allocation that no longer happens,

    Annoyingly the.net blog seems to have started to use LLMs to write their copy. Using "real" twice in one paragraph - do LLMs do that? Lots of commas is a tell for me.

    > This is a long one. It’s meant to be. Grab your hot beverage of choice, settle in, and let’s turn it up.

    Ugh.

    • pestkranker 39 minutes ago
      These comments about potential LLM usage are so boring. Stephen is doing this kind of blog post since 6+ years. They all look the same. Read it! It’s very good. Performance deep dives with this kind of quality are rare.
    • gerdesj 34 minutes ago
      Not too sure here. I use quite a few commas, too.

      I suspect it was done old school: Written by Stephen and passed to a LLM to fill in all those links and other garnish and then passed back for final polish by Stephen. That's how I do my write ups (but generally without the LLM bit for shorter efforts).

      This is a long write up, and I'm sure it will have been assisted, but in the right way, and not a sloppy way.

      I've dropped several commas before conjunctions, soz!

      • AlexErrant 14 minutes ago
        FWIW the .NET 10 release also had 2 occurrences of "real" in literally the first paragraph.

        I, too, tire of the constant YOU WROTE THIS WITH LLMs outrage. An incredible engineer dumped an ENORMOUS amount of technical knowledge at your feet, and you're commenting on the smell? Is that all you have to contribute?

        I saw this too on the Ryan Carniato/SolidJS 2.0 announcement post. A world-class engineer makes a great blog post, and all the comments can focus on are the LLM-smells. Oh well. Any reason not to learn, I guess.

    • tester756 13 minutes ago
      For some people LLM-spotting feels like a sport they need to compete in
    • wolttam 15 minutes ago
      This is the loudest release of .NET to date(!)
      • y1n0 5 minutes ago
        It’s a spinal tap joke.
  • pjmlp 1 day ago
    Ah the traditional browser stress test from the .NET team. :)

    Joke aside, yet another interesting read of all little improvements that go across all the runtime, and very much appreciated that they put out the effort to go through this detail level.

  • equasar 1 day ago
    Thanks Stephen for this, it is very rewarding to read something very technical that is not AI slop these days.