2 ms·
Other way round. NodeJS has had FFI for over a decade that allows you to call functions in .dylib/.a/.dll on Mac/Linux/Windows. I've used it extensively to lin
by demondemidi 2y ago
Other way round.
NodeJS has had FFI for over a decade that allows you to call functions in .dylib/.a/.dll on Mac/Linux/Windows. I've used it extensively to link with libraries provided by USB device manufacturers to avoid direct USB interfacing.
See:
https://www.npmjs.com/package/ffi https://www.npmjs.com/package/ffi
This let's you call Node from inside Swift.