~/talk

Serialization: A New Hope

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java, software-architecture]
slides:none on file

Proposes replacing Java’s magic serialization with a data‑oriented pipeline that uses constructors and deconstruction patterns and simple annotations like @Marshaler/@Unmarshal to declare entry/exit schemas; produces a Marshal structural representation (owner, parameter names/types, values) that is IO‑agnostic and converts to wire formats (demo via a small Jackson adapter). Prototype (≈1,300 LOC) recursively marshals graphs but does not support cycles, preserves constructor validation, allows one canonical marshaller per type, and is meant to be phased into the JDK.

AI-written summary · about

  1. 0:00The history of serialization
  2. 3:01Why serialization is flawed
  3. 4:28Seeking a better solution
  4. 7:00Records and deconstruction
  5. 10:04Cycles and virality issues
  6. 14:39A new design approach
  7. 17:01Using language constructs
  8. 22:41Class author control
  9. 26:44Design choices and benefits
  10. 29:09Decoupling concerns
  11. 34:06Recursion and security
  12. 37:29Simplicity and takeaways
  13. 43:53Next steps and Q&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.