-
After witnessing a bug with runtime IL emission in System.Text.Json: #40878, I read about C#'s new feature, Source Generator, and was wondering if there are considerations to completely switch to Source Generator in S.T.J? In addition to the fact that it will make things AOT-friendly (and performant), it would also help catching the typecasting issues during the compile time. An alternative idea is #40620 - to verify generated IL on runtime. However, I think S.T.J is the top candidate to get SourceGenerator-based implementation, since its description states:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
--> dotnet/runtimelab#16 (there's an experminent over there). |
Beta Was this translation helpful? Give feedback.
--> dotnet/runtimelab#16 (there's an experminent over there).