~/talk

Marshalling: Data-Oriented Serialization

Talkat JavaOne 2025 · 2025-03-18..03-20· [java]
slides:none on file

After 30 years of Java Serialization the proposal replaces object-scraping with language-level constructor-based marshalling and matching deconstructors as schemas, making structure explicit (types, names, order) and decoupling wire formats. Prototype integrates with Jackson in under 100 lines and the PoC runtime is ≈1,000 Java lines. It drops serialVersionUID/readObject/writeObject magic, disallows automatic cycles, supports constructors and static factories (enums/singletons via factories), and lets authors opt in to private access for safe, versioned migration.

AI-written summary · about

  1. 0:00History and context
  2. 2:56Grievances with serialization
  3. 7:32Complexity and evolution
  4. 12:20Leveraging record patterns
  5. 17:49Structural flaws
  6. 19:58Proposed architecture
  7. 28:47Decoupling concerns
  8. 34:14Simplicity in design
  9. 37:39Key takeaways and future steps
  10. 43:47Questions and answers
~/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.