logoalt Hacker News

Performance Improvements in .NET 11

196 pointsby soheilprolast Tuesday at 12:18 PM37 commentsview on HN

Comments

tiffanyhtoday at 2:25 AM

This post was so refreshing to read, because it reminds me of a time of solid engineering & writing in a pre-AI era.

I’m afraid posts like this might become fleeting.

rsalustoday at 12:45 AM

these blog posts have really turned me into a dotnet evangelist. love the framework & language.

show 1 reply
adzmlast Tuesday at 4:33 PM

Runtime async is certainly an interesting development. Really excited to see how this plays out.

AlexErrantyesterday at 11:01 PM

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?
show 6 replies
d_finchtoday at 12:20 AM

Saw a noticeable startup time boost on a recent project migration. Always appreciate the continued focus on speed.

Sorrel47yesterday at 11:38 PM

Always appreciate the continued perf gains. Our existing services just get faster for free, which is a nice win.

gerdesjyesterday at 10:20 PM

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)

show 2 replies
pseudosavantyesterday at 11:47 PM

Very thorough write up. Clearly a lot of performance improvements across their stack. As if it wasn't detailed/long enough already, I would have loved to see some application-level benchmarks that gave a hint of the cumulative performance gains we should expect.

pjmlplast Tuesday at 2:21 PM

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.

mlhpdxyesterday at 11:11 PM

Impressive technical work and authorship. My quibble, which seems significant in context, is what happened with AoT?

show 1 reply
equasarlast Tuesday at 3:54 PM

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

dude250711yesterday at 11:18 PM

C#/.NET are very well-represented in LLM data - from enterprise back-end code to games. A language to use for sure.

show 2 replies
kristianpyesterday at 10:20 PM

> 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.

show 5 replies