Oxide and Friends

Get You a State Machine for Great Good

Mar 28, 2023
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Live Replay Debugger Demo

  • Andrew demoed a captured UI session that played back live with no user input.
  • This showcased a replay debugger allowing postmortem inspection of UI state changes.
INSIGHT

Separation Enables Replay Debugging

  • Separating IO from state enables replay debugging by treating each state mutation as a recorded, replayable event.
  • Totally ordering input events allows replaying and replicating UI state evolution deterministically.
ADVICE

Build Debuggability Early

  • Design your system from the start to separate mutable state and IO for debugability.
  • Without total ordering and separation, replay debugging becomes impossible or infeasible.
Get the Snipd Podcast app to discover more snips from this episode
Get the app