~/talk

Revisiting visitors: a talk about generalising serialisation

Talkat Scala Love 2022 · on Friday, 2022-02-18· [scala]
links:none on file
slides:none on file

Disney Streaming shows how smithy4s generates Scala from Smithy IDL while keeping generated models free of third‑party libs or fixed formats. Starts from a 24‑hour hackathon (24 hours) that reverse‑engineers AWS’s ~300 services JSON specs, then replaces many protocol‑specific generators with a single higher‑kinded visitor approach: a schema/schematic pattern that derives codecs (circe JSON, XML, query) from metamodel descriptions, enabling encoders, decoders, ScalaCheck generators, CLIs, protobuf/GraphQL adapters at lower cost while constraining allowed metamodel constructs.

AI-written summary · about

  1. 0:00Developing a Scala AWS SDK
  2. 8:14Overcoming protocol challenges
  3. 11:56Limitations of visitor patterns
  4. 16:51Introducing metamodels
  5. 21:22The schema and schematic pattern
  6. 30:48Implementing the abstraction
  7. 42:38Pattern pros, cons, and Smithy
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.