// the find
chai2010/advanced-go-programming-book
:books: 《Go语言高级编程》开源图书,涵盖CGO、Go汇编语言、RPC实现、Protobuf插件实现、Web框架实现、分布式系统等高阶主题(完稿)
An open-source book (with a published second edition) covering the parts of Go that most introductory material skips: CGO, Plan 9 assembly, gRPC internals, web framework construction from scratch, and distributed systems primitives. Written in Chinese by two Go practitioners who clearly operate at the compiler and runtime layer. If you read Chinese and want to understand what actually happens when goroutines switch or how CGO bridges the GC boundary, this is one of the few places that goes that deep.
The assembly chapter is genuinely rare — it explains Go's calling convention, stack frame layout, and goroutine ID extraction through actual amd64 examples, not hand-wavy diagrams. The CGO coverage is thorough: type bridging, memory ownership rules, building static and shared libraries, calling Go from Python — all with working examples in the repo. Both authors have hands-on compiler/runtime credibility, which shows when the book explains *why* things work the way they do rather than just what the API surface is. The second print edition means the content was reviewed and cleaned up, unlike a lot of abandoned Chinese-language Go resources.
It's written entirely in Chinese with no English translation, which rules out most of the global Go community regardless of technical quality. The distributed systems chapter (ch6) is noticeably thinner than the assembly and CGO chapters — distributed ID generation, rate limiting, and load balancing each get a brief treatment that reads more like an overview than a real guide. The gRPC and Protobuf plugin sections were written against older API versions; protoc-gen-go and the gRPC Go library have both changed enough that some examples won't build without edits. The CC BY-NC-ND license means you can read it but can't fork or adapt it for your own educational materials.