Last year, as a part of my semester project I implemented a an encryption algorithm in C++. As a demo I created a website which encrypts and decrypts some strings using nodejs server. I used child_process module to run this executable file using node.
My Question is when we can do things like this why do we need N-API or add-ons. We can simple compile C/C++ codes and use them like this. Does N-API ensures better performance or ease of use?
Source: Windows Questions C++