‹ BackHN Continuity

Thread

Performance Improvements in .NET 11

349 points · 112 comments · soheilpro

  1. AlexErrant · · focus · HN ↗
    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?
    1. keithnz · · focus · HN ↗
      Not really, you only need to know you can get at it. One day you might be doing something like processing images or video and you are finding it slow and getting down to this level can be helpful. But it wouldn't necessarily be the first thing you'd look at.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.