Get GOing with a New Language
summary
Rewrites a 2,000‑line messy PHP4 app into Go and cuts downtime: emails backlog falls from ~5,000 to almost zero and processing completes in about two seconds. Shows performance numbers (Go ~4,500 req/s vs PHP ~1,800–2,500 in cited benchmark), uses goroutines and channels for concurrency, implements a worker pool with sync.WaitGroup, and relies on built-in tools like go build/go run/go fmt plus the race detector and modules. Results: simpler error handling, faster runtime, and easier dependency management.
AI-written summary · about
chapters (17)
- 0:00Start
- 2:50GO(LANG)
- 3:49DIFFERENCES
- 4:15INTERPRETED VS COMPILED
- 4:45BENCHMARKS
- 9:45TOOLS OUT OF THE BOX
- 11:02GOPATH
- 12:24MODULES
- 15:14CONCURRENCY VS PARALLELISM
- 19:09BUILT-IN CONCURRENCY
- 20:49$ go run goroutines.go
- 24:07CHANNELS
- 28:13WE CAN SPEED THINGS UP
- 37:24STRICT TYPES
- 37:47SHORTER, SENSIBLE NAMES
- 38:26OBJECT CALISTHENICS HANDLE ERRORS FIRST
- 40:05INTERFACES








