VDOM Write Your Own DOM
summary
A virtual DOM system streams UI updates between a native Go audio engine and browser front ends using WebSocket DOM patches that carry element diffs while user events flow back as serialized input. The project builds a minimal synthesizer (oscillator, envelope, gain), runs both as native and as browser JS using Go compiled to native and JS, demonstrates live sync across windows, and works with acceptable latency but lacks event bubbling and direct browser API access.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:36Background
- 1:22Target Web
- 1:49Reactor
- 2:08Audio DSP Workspace
- 2:49Synthesizer
- 3:13Oscillator
- 3:30Why VDOM
- 4:00Stream the DOM
- 5:03Secondary Window
- 5:15Console
- 5:40Code
- 6:22Limitations








