by benterix · 7mo ago · 0 comments
Correct me if I'm wrong but isn't it what aot was supposed to solve?
Span<T> is more important for performance TBH JIT warmup isn't a huge issue for a long-running process
> ...but it may make your code much uglier
Flip side is that if you use more source generation, it may end up making the code more terse/"prettier" where it matters and avoid the reflection hit.AI agents seem fairly good at generating source generators so there doesn't seem to be a reason to not use them.
AOT doesn't support generating new executable code at runtime (Reflection.Emit), like you can do in JIT mode.