Wednesday
Room 2
13:40 - 14:40
(UTC+01)
Talk (60 min)
Turbocharged: Writing High-Performance C# and .NET Code
Do you want to learn how to write C# code that executes faster and allocates less?
This session is packed with practical examples and code demos of where and how high-performance APIs and language features can be applied to your applications.
This session will teach you about using types such as Span to process data and parse strings efficiently. We'll examine System.IO.Pipelines, offering high-performance I/O, and utilise ArrayPool to help reduce GC allocations. We'll also discuss how the low-level System.Text.Json APIs can dramatically improve JSON parsing.
We'll begin by focusing on when and why performance matters in applications. You'll learn how to profile and benchmark your code using a data-driven approach to focus your optimisations.
At first, these concepts may seem complicated, unapproachable and difficult to apply. In this session, Steve introduces high-performance newcomers to the features, showing you how they work, where they can be applied and how to measure performance improvements in your code.
This talk is for developers who, like Steve, are ready to begin their journey towards writing faster .NET code, which allocates less.