Recently, I played with node.js addons:
http://nodejs.org/api/addons.html
and discovered that a simple "a + b" program can be up to 50x faster
implemented as addons
compared to C++ program that uses scanf / printf and communicate via
stdin/stdout.
So, I am really motivated to use addons for the communications!
However, my C++ program has interaction with disk (has to perform I/O).
The current node.js documentation above doesn't have an example
on how to use addons + libuv to do a non-blocking addons.
Can anyone give a simple example of non-blocking addons?
Thanks,
Felix Halim
--
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 nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/fb605601-a446-482a-afd6-6dd3d2ee7251%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.