/ From IL Weaving to Source Generators, the Realm story

Description

Intermediate Language (IL) Weaving is a powerful technique that allows us to greatly simplify the experience of developers using the .NET Realm SDK by hiding a fair amount of complexity from end-users. Working with a weaver, though, is tedious, error prone and the resulting code is a black box. These are some of the reasons that convinced us to migrate to Source Generators, a feature introduced in .NET 5 that allows us to produce code on the fly during compilation. This talk will go through the reasons why IL Weaving was used in the first place, our long journey switching to Source Generators and why they do not yet satisfy all our needs.

Session 🗣 Intermediate ⭐⭐ Track: Native Languages (Rust, Go lang, C++, C#, .Net, ...)

Slides

c#

.net

codegen

source generators

weaving

This website uses cookies to enhance the user experience. Read here