This book analyzes the source code of Node.js based on node v6.0.0.
The source code analysis includes (libuv, v8), and requires a certain level of C and C++ foundation. The source code of Node.js is full of developers' wisdom and the spirit of pursuing the ultimate, including but not limited to:
-
System architecture
-
Design patterns
-
Performance optimization
-
Tricks
This book explains the core concepts of node's asynchronous IO and event loop by analyzing the implementation of node's core modules, helping developers to better use Node.js.
By tracing the development issues of the node community, we can explore the changes and evolution of node and learn the design philosophy of node.js.
- Overview
- Starting from Hello World
- Module Loading
- Global Object
- Event Loop
- Timer Interpretation
- Yield Magic
- Buffer
- Event
- Domain
- Stream
- Net
- HTTP
- FS File System
- Process
- Node.js Pitfalls
- Others
- Appendix
This book is copyrighted by the author. Unauthorized reproduction in any form is prohibited.
-
Contact the author Weibo: http://weibo.com/yangjianghua
-
Email: yjhjstz#gmail.com
This book is still being written. Welcome readers to discuss https://github.com/yjhjstz/deep-into-node/issues
If you think it's good, please buy me a cup of coffee, welcome to Star, submit PR