Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Turbocharged - Writing High-Performance C# and .NET Code

NDC Conferences via YouTube

Overview

Discover how to write high-performance C# and .NET code in this comprehensive conference talk. Learn to create faster-executing code with reduced allocations through practical examples and demos. Explore the latest high-performance APIs and language features, including Span and Memory for efficient data processing and string parsing, System.IO.Pipelines for high-performance I/O, and ArrayPool for reducing GC allocations. Dive into the new high-performance JSON APIs introduced in .NET Core 3.0. Begin by understanding when and why performance matters in applications, and learn to measure code using a data-driven approach for targeted optimizations. Gain insights into applying these seemingly complex features to your projects, with clear explanations of how they work and where they can be implemented. Measure performance improvements and start your journey towards writing faster, more efficient .NET code that allocates less memory.

Syllabus

Turbocharged: Writing High-Performance
Aspects of Performance
Measuring Application Performance
Benchmark .NET
Span - System Memory package. Built into NET Core 21.
Span Slice
Working with Strings
Span Limitations
Object Key Builder Benchmarks
System.IO.Pipelines
ReadOnly Sequence
TSV Parsing Optimisation - Results
Cost Saving Example: Input Processor This work is a small part of a much bigger potential gain
Summary

Taught by

NDC Conferences

Reviews

Start your review of Turbocharged - Writing High-Performance C# and .NET Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.