Running C++ program on AWS Lambda (as Node modules)
Set of various sample programs that imports a custom node module compiled from C++ code. This repo contains sample progs like just printing out a value after taking it as an event argument and couple of progs that takes multiple arguments (string or int) and returning a value.
README files exist under each folder to see the exact functionality in detail.
A good series of reference articles:
1. C++ Addons as AWS Lambda functions - https://nodeaddons.com/c-addons-as-aws-lambda-functions/
2. C++ Processing from Node.js (Intro) - https://nodeaddons.com/getting-your-c-to-the-web-with-node-js/
3. C++ processing from Node.js (Returning objects to JavaScript from C++) - https://nodeaddons.com/c-processing-from-node-js-part-2/
4. C++ processing from Node.js (Passing Arrays of Objects) - https://nodeaddons.com/c-processing-from-node-js-part-3-arrays/
5. C++ processing from Node.js (Asynchronous addons) - https://nodeaddons.com/c-processing-from-node-js-part-4-asynchronous-addons/
6. Building an Asynchronous C++ Addon for Node.js using Nan - https://nodeaddons.com/building-an-asynchronous-c-addon-for-node-js-using-nan/