Session
Of (incremental) Generators and (experimental) Interceptors
Would you like to know how incremental source generation and (currently experimental) interception grant you AOT & performance "for free"?
Since their inception in .NET 5, Source Generators of the .NET Compiler Platform are becoming more and more prevalent in our projects. Especially the upgraded .NET 6 Incremental Generators have proven to be integral to a productive development workflow. Not only do they automate maintaining repetitive boilerplate code and help to avoid Reflection for faster and trim-friendlier apps, but they also replace dynamic code to enable Native AOT scenarios.
Every major version of the SDK has expanded the capabilities of Roslyn Source Generators. .NET 8 makes no difference by adding a preview of Interceptors with the C# 12 compiler as an experimental feature, that has received improvements in the latest .NET 9 already. These allow you to reroute existing call sites to a specialized method at compile-time.
May Roslyn be with you!
Stefan Pölz
Clean C# Coder – Test-driven .NET Developer
Vienna, Austria
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top