Overview
Explore the world of incremental source generators with Roslyn in this conference talk from NDC London 2023. Dive into a live coding session demonstrating the test-driven implementation of a fully operational incremental source generator. Learn how these generators optimize compile-time for improved run-time performance, enabling the creation of specialized types and methods tailored to your code. Discover the advantages of Roslyn-based metaprogramming in reducing repetitive coding patterns and facilitating high-performance scenarios without relying on Reflection. Compare the benefits of incremental generators (introduced in .NET 6 SDK) to standard source generators (compatible with .NET 5 SDK), particularly in managing developer experience for large projects. Witness the unveiling of intricacies and benefits of incremental source generation, followed by an evaluation of the resulting component's technical quality through benchmarking and mutation testing.
Syllabus
Let's Code an incremental source generator with Roslyn - Stefan Pölz - NDC London 2023
Taught by
NDC Conferences