If you would like to write in javascript, you may use typedarray to improve the performance, and you can implement native module by passing typedarray. Implements the module in c/c++ will give you the best performance but a javascript module is much more convenient.
Regards, Robert Paolo Tagliani於 2012年8月31日星期五UTC+8下午5時35分06秒寫道: > > Hello everyone, > > 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: > > 1. *Write all in Node.js* and use the power of the V8 engine for the > mathematical task. > 2. *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? > > Thanks > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
