Node.js Addons or “Wow, that was fast!”
Franz Neubert
33

I also did a same experiment

I’ve used the Addons feature of Node JS to create a simple C++ function which implements a method to calculate the nth Fibonacci number. The same method also is implemented as a Javascript function. This non optimized method of calculating the nth Fibonacci is used to test a time consuming process and comparing the time required for an Addons function vs a Javascript function to do the same calculation.