Building a New gRPC Library in Swift
summary
A full rewrite produces gRPC Swift v2 that uses Swift's native concurrency and aims to leverage the Swift 6 compiler guarantee of data-race freedom; runtime consists of an in‑process transport plus an HTTP/2 transport built on Swift Neo, a core "transport / cool / stub" design, and compile‑time protoc + SwiftPM build plugins for stub generation. The team prototypes APIs (including rejected ownership‑modifier designs), spends ~10 months on redesign, plans an alpha after Swift 6, and runs V1 and V2 side‑by‑side for gradual migration.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 3:11Swift for server development
- 8:02Swift gRPC evolution
- 13:20Designing new gRPC Swift
- 18:34Key features of rewrite
- 19:38Lessons from rewrite
- 20:22Future plans and feedback








