On Mon, Apr 29, 2013 at 3:18 AM, Kiki Kinstlick <[email protected]> wrote: > I am trying to figure out how to best exchange data between a NodeJS > module and a C library. Can I use the node-ffi module to do this? Or > would I have to write my own nodejs addon? Thanks!
It very much depends on the library. As a general observation, FFI (not just node-ffi) works great 90% of the time and poorly or not at all for the remaining 10%. Things like passing or returning structs by value are often painful or impossible, for example. -- -- 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 --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
