State of the .NET Performance - Adam Sitnik

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • There are major performance changes in .NET Core and C# 7. This talk will be a guided tour of most important of them.
    We’ll see how the new tools: ref returns & locals, ArrayPool, ValueTasks and Spans work and what performance benefits they can bring. This talk will discuss how all these new tools can improve your application performance today with the power of .NET Standard. You will also learn how all of these things help build zero-copy streams aka Channels/Pipelines which are going to be a game changer in the nearest future.
    NDC Conferences
    ndcoslo.com
    ndcconferences...

КОМЕНТАРІ • 4

  • @JeffChentingwei628
    @JeffChentingwei628 4 роки тому

    15:04 Span keypoint

  • @GeorgeTsiros
    @GeorgeTsiros 5 років тому

    4:00 is the entire cache line filled with data from ram because the system presumes you're gonna use it, OR because that is how the system functions, anyway? Something tells me that no matter if you mov a byte, two bytes, four or eight, the ENTIRE cache line will get filled with the appropriate memory locations' data, always.

    • @KoziLord
      @KoziLord 3 роки тому +1

      I know I'm over a year late but yes the entire cache line is always moved into the cache, taking a byte from memory address 14 would grab the entire 0..63 range of memory. A cache line is the smallest unit of data memory management unit will operate on. This is why alignment is important as an integer living in the 62..66 memory region would require two cache lines to be fetched (0..63 and 64..127).

  • @Esico6
    @Esico6 4 роки тому

    Microsoft does not really use .net themself.