~/talk

PRETTY LITTLE COMPILERS

slides:none on file

An SBT plugin is built to read a git-tracked asyncAPI/schema repo and generate Scala ADTs, JSON codecs and ScalaCheck generators; proof-of-concept appears in two weeks and the finished tool in about six weeks. CI-run round-trip property tests serialize production objects to schema objects and back both ways, surfacing typos and mismatches until schemas and code converge. Code generation uses recursion-schemes and contravariant printer combinators to emit source; the workflow eliminates sync delays so teams produce interoperable code minutes after agreeing a schema.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Outdated schemas problem
  3. 3:10Internal APIs need contracts
  4. 4:34Schema compiler defined
  5. 6:03Recursion schemes
  6. 8:10Contravariant functor examples
  7. 13:33Implementation story
  8. 16:02SBT plugin proof
  9. 18:55From POC to production
  10. 19:59Code generators
  11. 24:10Contravariant functor challenges
  12. 28:48Key takeaways
  13. 30:11Q&A
~/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.