~/talk

Herding types with Scala macros

Talkat Typelevel Summit Copenhagen 2017 · on Saturday, 2017-06-03· [scala]
links:none on file
slides:none on file

Shows a small Scala library that uses compile-time reflection and Scala macros to generate per-type serializers and deserializers for a schemaless key‑value store (Aerospike style), eliminating the dozens of boilerplate reader/writer methods for keys and bins. Macros materialize macro materialized writers and readers at compile time, emit code that handles strings, numbers, maps and collections, allow explicit serializer selection, come with tests for many type mappings, and are used successfully in production.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Problem and Goals
  3. 2:41Aerospike Data Structure
  4. 4:08Bridging Data Types
  5. 6:18Building the Interface
  6. 7:56Implementation Details
  7. 10:05Using Scala Macros
  8. 12:29Code Generation and Tests
  9. 14:55Q&A and Conclusion
~/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.