Node.js As an emerging programming runtime in recent years, thanks to the V8 engine, it has relatively high operating efficiency as a back-end service, which is sufficient for our daily development in many scenarios. However, it also opens up an opening for developers to develop native extensions for Node.js in C++, giving them more options when developing their projects. Node.js: A Dozen C++ Extensions builds on Chrome V8 knowledge and combines some content with to teach you how to write native C++ extensions using some of the APIs provided by Node.js. In addition, in the subsequent advanced chapters, the knowledge of native abstract NAN and libuv related to asynchronous will be introduced, and finally supplemented with several examples to deepen the understanding. However, before learning the content of this book, it is hoped that readers have a basic Node.js and C++ basics. Reading "Node.js: A Dozen C++ Extensions" is equivalent to learning Chrome V8 development, libuv development, and Node.js's native C++ extension development knowledge at the same time, which is very worth it! Table of Contents 1 Node.js C++ Extension Precursor Knowledge Reserve 1 2 Brief analysis of C++ module principles 57 3 Chrome V8 Basics 104 4 Preliminary Practical Exploration of C++ Extensions 212 5 Node.js Native Abstraction – NAN 260 6 Asynchronous Journey – Libuv 328 7 Actual Combat - File Monitor 370 8 Actual Combat—Existing Package Analysis 401 9 N-API – Next Generation Node.js C++ Extension Development Approach 425 Download:https://pan.baidu.com/s/1sADFH6WkwXW478K4nxbT4g Password:Tourists, if you want to see the hidden content of this post, please Reply
|