~/talk

Building Distributed Applications in OCaml

slides:none on file

OCaml code for real blockchain software uses explicit techniques not handwaving: content-addressed storage with digests for persistent DAGs, ppx-derived (un)marshaling to avoid 30% of boilerplate marshaling code, monads (state error future) for effect discipline, higher-order modules to swap in-memory versus persistent Patricia tries, lenses and zippers merklify in about seven lines to produce logarithmic Merkle proofs, and pragmatic tradeoffs (uses LWT but prefers Jane Street ecosystem) with concrete gains and costs.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:09Types in action: marshalling
  3. 8:10Monotonic functional programming
  4. 13:05Lenses and zipper abstractions
  5. 16:07Merkle proofs and efficiency
  6. 17:56Benefits and costs of types
  7. 20:39Debugging and refactoring
  8. 24:36Performance and monads
  9. 26:13Typing future improvements
  10. 29:48Compiler reflection and macros
  11. 33:40Virtualization and security
  12. 35:36Conclusion and fable
  13. 40:01Q&A session
~/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.