3 ms·
No. It's RPC (remote procedure call), it's not FFI or has anything to do with FFI, unless you have a different definition than mine.
by throw_m239339 5y ago
No. It's RPC (remote procedure call), it's not FFI or has anything to do with FFI, unless you have a different definition than mine.
- smitty1e 5y agoThe difference would be the number of layers of indirection. FFI implies a binary interface with some compiled shim layer, and RPC uses a network stack. Ionic vs. Covalent bonding, if you will?
- kazinator 5y agoRPC's can be abstracted so that you don't know. E.g Microsoft COM: same call to call an in-process COM object versus DCOM. Within the process, it could be "apartment threaded": the other domain has its own thread, which receives the argument material as a request, does it, and replies. (Kind of thing). Or it could be direct: your thread calls the function.