I have to write a server program that implements some fuzzy logic and I choose to write it in Node.js to take advantage of its event orientation. I have to work with difficult mathematic computational problem, and I don't know what's the best way to obtain performance:
- Write all in Node.js and use the power of the V8 engine for the mathematical task.
- Write a module in C++ that implements all the mathematical function and call it from Node.
Anyone that have experience in these type of computation on both platform?