~/talk

Never send a human to do a machine's job

Talkat Dotnetos Conference 2022 · 2022-10-10..10-12· [engineering-leadership]
slides:none on file

Roslyn Source Generators automate repetitive code by emitting partial implementations that replace Reflection and boxing for value types, here generating explicit IEquatable and GetHashCode for partial structs; the generator compiles, unit tests turn green and benchmarks show elimination of allocations and hash collisions so generated structs match C# 10 record struct performance. The migration to Incremental Generators reduces generator runtime by caching pipeline steps. Includes a small benchmarking harness and IEquatable generation examples, all benchmarked and green tests.

AI-written summary · about

  1. 0:00Introduction
  2. 2:24Source generator basics
  3. 5:27Performance problems in structs
  4. 13:58Unit testing generators
  5. 18:20Implementing ISourceGenerator
  6. 33:22Incremental generators
  7. 42:52Best practices and wrap-up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.