- Cross-platform addons with node-pre-gyp - 02/07/2017
Node.js applications (including electron apps) are deployed everywhere, including end-user machines without a full development stack. Usually this is no problem - but things get complicated with native addons are used.
Native C++ addons are distributed as modules, but
npmbuilds them on the target machine during the install using
node-gypisn’t a compiler, it’s a build system that adapts to the platform it’s on - on Windows it will use Visual Studio and on Linux/macOS it will use g++/clang. When installing an addon on a machine without a compiler, we are out of luck.
- Streaming data into a Node.js C++ Addon - 12/30/2016
In this post, I’m going to use the
- Buffers and C++ on Rising Stack - Community - 10/26/2016
- C++ Addons as AWS Lambda functions - 08/17/2016
In this post I’m going to walk you through creating and deploying a Node.js AWS Lambda function that uses a native C++ addon. As you’ll see, the process isn’t much different than creating normal AWS Lambda functions with Node.js - you’ll just need to get your development environment to match the requirements for AWS.
- Streaming data from C++ to Node.js - 07/20/2016
- C++ and Node.js Integration - eBook Published - 06/17/2016
I’ve got good news, I’ve finally completed the C++ and Node.js Integration ebook! I want to thank all of you for signing up for my newsletter to keep posted about the book - you kept me motivated! Thanks also to all the people who reached out to me with ideas, tips, and insights into the topic - you were extremely helpful.
- How (not) to access V8 memory from a Node.js C++ addon's worker thread - 02/01/2016
- Async Addons with Nan for the New Year (and eBook content updates) - 01/04/2016
Happy New Year everyone! Last month I let you all know I was starting a blog series about Getting C++ to the Web using Node.js. My plan was to get the whole series out by the end of the year, and I just made it! The last part was posted just a couple of days ago, it focused on asynchronous addons using Nan. I also covered automation and shared libraries along the way.
- Building an Asynchronous C++ Addon for Node.js using Nan - 12/31/2015
This post is the fourth and final in a series dedicated to showing you how to get your C++ application onto the web by integrating with Node.js. In the first post, I outlined three general options:
- Calling Native C++ DLLs from a Node.js Web App - 12/29/2015
This post is the third in a series of four posts dedicated to showing you how to get your C++ application onto the web by integrating with in Node.js. In the first post, I outlined three general options:
- Automating a C++ program from a Node.js web app - 12/16/2015
This post is the second in a series of four posts dedicated to showing you how to get your C++ application onto the web by integrating with Node.js. In the first post, I outlined three general options:
- Getting your C++ to the Web with Node.js - 12/03/2015
So, you’ve got some old C or C++ code, playing an important role in your business - but you desperately want to get that functionality on the web - maybe just internally to streamline your workflow, or maybe publically in order to fulfill some other goal. The problem, of course, is that C++ isn’t exactly easy to put onto the web - so what are your options?
- C++ processing from Node.js - Part 4 - Asynchronous addons - 08/07/2015
- C++ processing from Node.js - Part 3 - Arrays - 07/20/2015
- C++ processing from Node.js - Part 2 - Objects - 06/29/2015
- C++ Processing from Node.js - 06/17/2015