Golang on Stage, like literally
summary
A Go-based lighting controller is built and running: an Angular front end + JSON‑RPC server that emits Art‑Net/DMX frames to network nodes and DMX interfaces, driving LEDs and wash fixtures in live demos. Key constraints: DMX512 has a 512‑channel universe and practical max of ~44 full‑universe FPS (up to ~830 FPS for small packets), rigs hit 158 scattered channels, and festivals use ~32 universes. Tools and pains: go-artnet, PortAudio (cgo cross‑compile pain), diskv for storage, defer and channels add measurable timing overhead; system works but Go isn’t hard‑real‑time.
AI-written summary · about
chapters (15)
- 0:00Introduction to project
- 1:31Speaker background and motivation
- 4:26Choosing Go for lighting control
- 8:27Understanding DMX and Art-Net
- 13:12Live demo of the lighting system
- 15:45Flickering and refresh rate challenges
- 21:44Cross-compiling pitfalls with CGo
- 22:47Defer performance impact
- 24:44Channels and goroutines overhead
- 26:53Concurrency vs parallelism in Go
- 27:37Disk storage performance
- 28:18Importance of interfaces early
- 28:59Go performance on Raspberry Pi
- 30:03Go for real-time applications
- 30:46Q&A session
