Performance Improvements in .NET 9

Поделиться
HTML-код
  • Опубликовано: 17 янв 2025
  • НаукаНаука

Комментарии • 39

  • @emiraksoy1520
    @emiraksoy1520 2 месяца назад +41

    Steve is like a performance magician! I appreciate the dotnet team for all these improvements!

  • @freddymesapena
    @freddymesapena 2 месяца назад +29

    I really like these types of sessions, You learn a lot!

  • @nocgod
    @nocgod 2 месяца назад +10

    I love the work frequency example. I would use this exact example to interview people in order to see if they understand the implications of their implementation on performance and memory.

  • @dcuccia
    @dcuccia 2 месяца назад +1

    The TensorPrimitives work is a godsend - thank you!

  • @ivandrofly
    @ivandrofly 2 месяца назад +3

    This man is an inspiration.

  • @prebenhuybrechts7647
    @prebenhuybrechts7647 2 месяца назад +9

    Would be nice if source analysers would suggest these kind of things

  • @jarosawfrankowski7845
    @jarosawfrankowski7845 2 месяца назад +7

    I’m simple man. When I see Steve i watch 😊

  • @GeromeGuillemin
    @GeromeGuillemin 2 месяца назад

    Stephen is one of my favourite! Big job, big man

  • @marklord7614
    @marklord7614 2 месяца назад +8

    Now, I would like to hear more arguments about choosing .Net 9 and C# for performance critical projects given all the performance improvements over the years.

    • @pookiepats
      @pookiepats 2 месяца назад

      😂 to cure your fomo

  • @andrewzolotukhin6043
    @andrewzolotukhin6043 2 месяца назад

    That was really inspiring, as usually, thank you!

  • @WallaceBMcClure
    @WallaceBMcClure 2 месяца назад

    I listened to this talk live. All I can say is “I’m not worthy.” I deal with performance issues and I wish I had to deal with issues at this level.

  • @sljavad
    @sljavad 2 месяца назад

    it was really Great session , Fantastic

  • @aL3891_
    @aL3891_ 2 месяца назад +2

    return of the king

  • @MaxiTB
    @MaxiTB 2 месяца назад +2

    Ah, my fav video I'm looking forward to from MS period. Performance doesn't mean faster, it means wasting less energy hence not producing as much pollution and literally killing the planet slower. So every human against performance is pretty much hating himself. That said, it's always nice to see a video of someone who thinks sealed should have been the default for all classes - that also warms my old C++ heart. Nice think about perf is also that you really don't have to repeat yourself, so Stephen's videos pretty much always show something new and exciting. So in summary, it's good for the planet and it is fun to watch? What can top that.

    • @pookiepats
      @pookiepats 2 месяца назад +1

      i pity this level of arrogance

  • @ab1ray
    @ab1ray 2 месяца назад

    How did you do the smooth transition animation from the slide to VS? 3:33

  • @DataJuggler
    @DataJuggler Месяц назад

    6:45 The compiler in my brain, which is an older brain model, doesn't get how the while (true) exits from watching that code. I wrote a little quick Windows Forms version of the same code, and haven't stepped thru yet, but to me the while (true) looks like that would stay running till you ended the task or stopped debugging.

    • @UC9o5XrlWjXFOZayVA5JCXcg
      @UC9o5XrlWjXFOZayVA5JCXcg Месяц назад +1

      It doesn't exit, you can see when he tests it a few seconds later it runs repeatedly until he ends the process.

  • @KeinZantezuken
    @KeinZantezuken 2 месяца назад

    Why not just work on the read text file as a Span to being with?

    • @sirsamtheman
      @sirsamtheman 2 месяца назад +8

      Span is just a pointer so it still has to point into a string or char[]

  • @isnotnull
    @isnotnull 2 месяца назад

    Fantastic!

  • @nothingisreal6345
    @nothingisreal6345 2 месяца назад

    For the first example. What is the performance of EnumerateMatch().ToLookup(...). and then evaluate the count from the Lookup?

  • @kevinviger4604
    @kevinviger4604 2 месяца назад

    I can understand about a third of this, im just here for the victory lap

  • @tosunabi1664
    @tosunabi1664 2 месяца назад

    Will you think of making array[i] index and Array.Length uint, will save few cycles from checking i < 0?

  • @Tripelagos
    @Tripelagos 27 дней назад

    Why Account Manage folder is missing after installing identity framework 9 ? Please help.

  • @WallaceBMcClure
    @WallaceBMcClure 2 месяца назад

    Are there any tools that can look at source code and make suggestions regarding performance? I don’t mind that the suggestions might be wrong since that is my responsibility to look at.

  • @henrikjensen608
    @henrikjensen608 29 дней назад

    I wish these improvements would not require newer syntax. I work on projects where introducing this would exclude a lot of developers simply because they have learnt C# a while ago and this is magic for them. Even async stuff is magic and I'm just tired of fixing .Result!

  • @TSM_GoodBand
    @TSM_GoodBand 2 месяца назад +1

    C# slowly turning into C++. The opposite is true also.

  • @Rein______
    @Rein______ 2 месяца назад

  • @WantMore-mc8dx
    @WantMore-mc8dx 2 месяца назад +1

    Why does MS loves those extra line breakes before "{". IMHO it makes it less readable when codes devlops.

  • @flexairz
    @flexairz 2 месяца назад +6

    Paper, the most recyclable material ever.. don't fuss about saving the planet..

    • @VoroninPavel
      @VoroninPavel 2 месяца назад

      IMO, it's a matter of Joules. What is more energy efficient: reading from LED monitor, eInk book, or printing on and then recycling paper?

    • @Ayymoss
      @Ayymoss 2 месяца назад +9

      Sure, but you can't recycle the paper back into a tree. The premise Steve is attempting to make is, less paper used is less trees removed.

    • @KerchumA222
      @KerchumA222 2 месяца назад +1

      Things are not only the material they are made from. Manufacturing and transport also contribute to their environmental impact.

    • @MaxiTB
      @MaxiTB 2 месяца назад

      Just killing the planet much but not very much? Trees are literally made out of CO2, production of paper produces a lot of it and it gets released. The whole sales/distribution process again produces a ton of CO2 - as does the recollection/recycle process.

    • @AnthonyWright-o9w
      @AnthonyWright-o9w 2 месяца назад

      Paper can typically be recycled five to seven times before the fibers become too short and weak to be reused effectively. Each recycling process shortens the fibers, making them less capable of bonding into new paper. So after recycling 5 to 7 times, you need to chop down another tree. So do think about saving the planet.