Experimental C# Interceptors: AOT & Performance for free | .NET Conf 2023

Published: 17 November 2023
on channel: dotnet
3,203
73

C# 12.0 - shipped with .NET 8.0 - brings us a new experimental language feature: Interceptors. An interceptor is basically the inverse of a goto statement that enables the Roslyn compiler to replace reflection-based call sites with specialized implementations. Combined with (incremental) source generators, codebases become more Native AOT-friendly and can unlock better performance. Let's inspect this new concept in detail and see it in action.

Blog: https://aka.ms/dotnet/blog
Twitter: https://aka.ms/dotnet/twitter
TikTok: https://aka.ms/dotnet/tiktok
Mastodon: https://aka.ms/dotnet/mastodon
LinkedIn: https://aka.ms/dotnet/linkedin
Facebook: https://aka.ms/dotnet/facebook
Docs: https://learn.microsoft.com/dotnet
Forums: https://aka.ms/dotnet/forums
🙋‍♀️Q&A: https://aka.ms/dotnet-qa
👨‍🎓Microsoft Learn: https://aka.ms/learndotnet

#dotnet


Watch video Experimental C# Interceptors: AOT & Performance for free | .NET Conf 2023 online without registration, duration hours minute second in high quality. This video was added by user dotnet 17 November 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,20 once and liked it 7 people.