javascript - Talking to C++ library with Node.js -
i have node.js express web application , need talk optimization library named cbc coin-or:
https://projects.coin-or.org/cbc
what best way talk library using node.js? create node.js wrapper around c++ library or...?
if care performance, writing addon (and/or possibly using nan
let addon work across major node.js/io.js versions) wraps library best solution.
if taking considerable performance hit not concern, use ffi
call "directly" library javascript.
Comments
Post a Comment