Staying sane when writing Roslyn incremental source generators

Room 1Wed 13 May • 08:30–09:30DevAdvanced
Have you thought of writing a Roslyn source generator, and then found yourself getting stuck getting it off the ground? Read all the blogs, then the spec, then the blogs again and your head just wound up spinning? No wonder! As a monolith, you’re simultaneously balancing input source code, the very gnarly Roslyn API, and your output source code, along with testing, configuration, readability and other aspect of quality code. Starting with the big picture, Kathleen shows you how to break it up into manageable pieces, along with techniques to isolate overlapping ideas – like the code that contains the code that is being written. And all of this will be done with a focus on being a good and high performance citizen in the Roslyn ecosystem.

About the speaker

Kathleen Dollard

Kathleen loves to code and loves to teach and talk about code. She’s written tons of articles, a book, and spoken at numerous conferences around the world. After 8 years on the .NET team, including as the .NET Languages PM guiding C#, F# and VB, Kathleen is focusing on speaking and teaching, about C#, .NET, code generation and life in tech. She's always ready to help developers take the next step in exploring the wonderful world we call code.