Hacker News new | ask | show | jobs
by littlestymaar 2975 days ago
And even if you want to ship native code within your Electron app, why would you use wasm instead of the native code with ffi ?
1 comments

This would of course have to be tested but there might be less overhead? I haven’t used FFI but they mention that it is significant. I have written a V8 add-on using NAN and the performance is very good (as in passing relatively large arrays between C++ and Node is in the few microsecond range)