Let’s Build an Incremental Source Generator With Roslyn, by Stefan Pölz

This talk was part of the JetBrains .NET Days Online 2022 conference. Details: https://pages.jetbrains.com/dotnet-da... Description: (Incremental) source generators allow us to trade in a bit of compile time for better performance during runtime: instead of resorting to general-purpose types and methods, we may utilize auto-generated variants optimized specifically for our user code. With these at our fingertips, we can facilitate high-performance scenarios by, for example, using a Reflection-free source. If nothing else, this Roslyn-based metaprogramming relieves authors of writing repetitive patterns over and over again. While source generators (compatible with the .NET 5 SDK) potentially cause a sluggish developer experience in huge projects and solutions, the programming model of incremental generators (added to the .NET 6 SDK) mitigates that risk. Come join me in a live coding session and witness the (test-driven) implementation of a fully operational incremental source generator. We will unveil (most of) the intricacies and benefits of incremental source generation along the way. Speaker: Stefan Pölz, Clean C# Coder – Test-driven .NET Developer Twitter:   / 0x_f0   Code: https://github.com/Flash0ver/F0-Talks... "C# Source Generators in Action" by Andrey Dyatlov:    • C# Source Generators in Action, by Andrey ...   Original stream:    • JetBrains .NET Days Online 2022. Day 1   #dotnet #JBDotNetDays

Remote Pairing, by Alain King and Lorraine Steyn
▶︎

Remote Pairing, by Alain King and Lorraine Steyn

Let's Code an incremental source generator with Roslyn - Stefan Pölz - NDC Oslo 2023
▶︎

Let's Code an incremental source generator with Roslyn - Stefan Pölz - NDC Oslo 2023

The Background on Background Tasks in .NET 6, by Scott Sauber
▶︎

The Background on Background Tasks in .NET 6, by Scott Sauber

The model-code gap • Simon Brown • Devoxx Poland 2024
▶︎

The model-code gap • Simon Brown • Devoxx Poland 2024

Union types in C# | DEM304
▶︎

Union types in C# | DEM304

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains
▶︎

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan
▶︎

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan

Let's Code an incremental source generator with Roslyn - Stefan Pölz - NDC London 2023
▶︎

Let's Code an incremental source generator with Roslyn - Stefan Pölz - NDC London 2023

Co-Creator of Haskell: Useless vs Useful Languages, Rust vs C, Functional Programming | Simon Jones
▶︎

Co-Creator of Haskell: Useless vs Useful Languages, Rust vs C, Functional Programming | Simon Jones

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup
▶︎

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Turbocharged: Writing High-Performance C# and .NET Code - Steve Gordon - NDC Oslo 2024
▶︎

Turbocharged: Writing High-Performance C# and .NET Code - Steve Gordon - NDC Oslo 2024

On .NET Live: Lessons Learned Building Source Generators
▶︎

On .NET Live: Lessons Learned Building Source Generators

Something is jamming GPS over Europe. Here's what we found
▶︎

Something is jamming GPS over Europe. Here's what we found

Building Microservices With Dapr and .NET, by Cecil Phillip
▶︎

Building Microservices With Dapr and .NET, by Cecil Phillip

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?
▶︎

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker
▶︎

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Mitchell Hashimoto’s new way of writing code
▶︎

Mitchell Hashimoto’s new way of writing code

Clean Architecture with ASP.NET Core 10
▶︎

Clean Architecture with ASP.NET Core 10

How to bend reality to your will with C# Source Generators
▶︎

How to bend reality to your will with C# Source Generators

What Software Architects Do That Programmers DON'T
▶︎

What Software Architects Do That Programmers DON'T