.NET Systems Programming Learned the Hard Way - Aaron Stannard - NDC Oslo 2023

Поделиться
HTML-код
  • Опубликовано: 5 июл 2023
  • "What is a thread quantum and why is it different on Windows Desktop and Windows Server? What's the difference between a blocking call and a blocking flow? Why did our remoting benchmarks suddenly drop when we moved to .NET 6? When should I try to write lock-free code? What does the `volatile` keyword mean?"
    Welcome to the types of questions my team and I are asked, or ask ourselves, on a regular basis - we're the makers of Akka.NET, a high performance distributed actor system library and these are the sorts of low-level questions we need to answer in order to build great experiences for our own users.
    In this talk we're going to learn about .NET systems programming, the low level components we hope we can take for granted, but sometimes can't. In particular:
    - The `ThreadPool` and how work queues operate in practice;
    - Synchronization mechanisms - including `lock`-less ones;
    - Memory management, `Span{T}`, and garbage collection;
    - `await`, `Task`, and the synchronization contexts; and
    - Crossing user-code and system boundaries in areas such as sockets.
    This talk will help .NET developers understand why their code works the way it does and what to do in scenarios that demand high performance.
    Check out our new channel:
    NDC Clips:
    @ndcclips
    Check out more of our featured speakers and talks at
    ndcconferences.com/
    ndcoslo.com/
  • НаукаНаука

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

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

    Appreciate all the deep knowledge and technics for dotnet performance. Very detailed performance tested and benchmarked. I would like to test out some of the technics introduced in this video.

  • @alandemaria7569
    @alandemaria7569 9 месяцев назад

    Great talk from Aaron. Thank you.

  • @gustavnilsson6597
    @gustavnilsson6597 10 месяцев назад

    Great talk! Intresting problem space.

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

    For those interested Aaron referred to my talk during his. The talk is available at ruclips.net/video/pGgsFW7kDKI/видео.html

  • @TillmannHuebner
    @TillmannHuebner 10 месяцев назад

    Is that a 4:3 Slider?

  • @smithnigelw
    @smithnigelw 10 месяцев назад +7

    Why did he make the code examples, etc, occupy such a small area of the screen. Too small to be able to see clearly. I just lost patience, and gave up watching. So frustrating as potentially an interesting talk.

    • @Stannardian
      @Stannardian 10 месяцев назад +6

      I'm not sure why things rendered so small when I gave the talk live, but I've also given this talk on RUclips where it should be easier to read: ruclips.net/video/lx39ih2eyeE/видео.html
      Apologies for the inconvenience

  • @kdakan
    @kdakan 10 месяцев назад +5

    Unreadable font size, had to zoom in till it is barely readable on my 13 inch laptop and watch in HD

    • @toshn4151
      @toshn4151 10 месяцев назад

      Screw your tiny laptop screen.

    • @Kirides
      @Kirides 10 месяцев назад +1

      for me on my 24" screen the font looks perfectly fine in fullscreen.
      But i agree, some slides should've had 1.5-2x font size

    • @Stannardian
      @Stannardian 10 месяцев назад +1

      I'm not sure why things rendered so small when I gave the talk live, but I've also given this talk on RUclips where it should be easier to read: ruclips.net/video/lx39ih2eyeE/видео.html
      Apologies for the inconvenience

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

      @@Stannardian Thanks for sharing, that link is just fine