有比 node-ffi 更好的方法吗?
1
coderfox Feb 23, 2019
Parcel 打包器支持引入 Rust 代码,可以考虑一下: https://parceljs.org/rust.html。
|
3
ochatokori Feb 24, 2019 via Android
|
4
macha Feb 24, 2019
node-ffi,可以解决不少场景了。
|
6
dai875939260 Feb 24, 2019
以前用这个 https://github.com/neon-bindings/neon 用 Rust 调用 dll,编译成 node 模块。遇到问题就是有些 dll 调用异常,electorn 白屏,c++代码调用正常。。
|
7
szzhiyang OP |