Get GOing with a new language
summary
Argues that adding Go to a PHP skillset pays off: Go compiles to a fast standalone binary (benchmarks show vanilla PHP ≈2.5× slower than Go on a simple hello world), ships with tooling like go fmt and go build plus a race detector, and makes concurrency straightforward via goroutines and channels. Describes replacing a 4,000-line PHP email processor with a Go worker pool of five workers that removes a 5,000-email backlog and runs reliably. Mentions upcoming modules and generics.
AI-written summary · about
chapters (24)
- 0:00Introduction and speaker background
- 1:06Why learn multiple languages
- 2:49Overview of Go language
- 4:12Compiled vs interpreted languages
- 6:20First look at Go code
- 8:24Go syntax and conventions
- 10:12Go tooling and built-in features
- 11:38Go workspace and project structure
- 13:45What apps can you build with Go
- 14:47Introduction to Go concurrency
- 15:51Concurrency vs parallelism
- 17:18Concurrency example with Gophers
- 18:48Goroutines and WaitGroups
- 21:34Channels for synchronization
- 24:04Worker pool pattern with channels
- 28:50Real-world Go concurrency use case
- 29:53Go vs PHP comparison
- 33:03PHP strengths and weaknesses
- 34:27Go strengths and weaknesses
- 36:33How Go changed my PHP coding
- 39:22Go interfaces and DDD
- 40:48Benefits of knowing multiple languages
- 41:08Resources to learn Go
- 42:54Go and PHP communities
