// the find
JacksonTian/diveintonode_examples
《深入浅出Node.js》的相关代码
Companion code for the Chinese-language book 'Node.js in Practice' (深入浅出Node.js) by JacksonTian. It's chapter-by-chapter snippets covering Node internals: event loop, buffers, networking, clustering, and memory. Useful only if you're reading that specific book.
The examples are organized by chapter so they map directly to the book's progression. Covers genuinely low-level territory — native addons (binding.gyp/hello.cc), TLS mutual auth with self-signed certs, and cluster/process handle passing. The async flow control chapter (04) compares multiple approaches side by side: callbacks, Promise/A, Step, Wind — a useful snapshot of how that problem was being solved before async/await.
Last commit is December 2015 — this is a decade-old artifact. Node's async story (async/await, native Promises) has completely superseded everything in chapter 04. The SSL keys are committed to the repo, which is fine for a demo but a bad habit to normalize. No package.json at the root, no install instructions, no README explaining what Node version any of this was written for — several examples will break on modern Node without knowing why.