Go and Ruby
summary
Compares concrete Go features to Ruby: shows gotest benchmarks that auto-scale to ~1s runs, uses CGO to wrap SQLite and demonstrates embedding the Ruby VM, builds a reflection-based duplicate and a raw memory package that lets slices map to arbitrary bytes (uses unsafe pointers and a 4KB goroutine stack), implements panic/recover catch, and models CSP-style channels with map-reduce and a chat server; most demos compile and run, and the talk highlights 13 base types and ~134 contributors to the Go repo.
AI-written summary · about
chapters (14)
- 0:00Start
- 7:20Base Types
- 9:40The Blank Interface
- 11:37Unit Tests
- 13:50Benchmarking
- 17:36How To Implement a Stack Top
- 24:04Multiple Return Values
- 24:33Type Switch
- 25:17Unsafe Pointer
- 29:15Random Number Generator
- 30:35Blocking Channel
- 31:55Create an Infinite Loop
- 39:23Chat Server
- 42:22Error Handling








