Re:Wasmer: A Python library for executing WebAssembly binaries
by tracker1 on Tuesday April 16, 2019 @03:42PM
(#19676639)
It's often for code that is asynchronous that will not return an answer immediately... the function passing is most often used to send a callback for these situations.
[ Parent
| on HN ]
Re:Wasmer: A Python library for executing WebAssembly binaries
by jononor on Thursday April 18, 2019 @10:14AM
(#19691136)
A state-machine, generator or coroutine can be used instead of callbacks.
I mostly prefer only having one direction of who-calls-who when combining multiple languages. Though I understand that for a general purpose system like Wasmer it makes sense to support everything, so that users can choose the architecture.