full-stack-hello
full-stack-hello copied to clipboard
Native code seamless integration
This is a naive idea at its infancy: Integrate this VM based code with native code.
Allowing them to invoke each other.
Some assumptions/limitations may have to be imposed to speed up the execution and data type conversion.
Is it something like JNI?
The target is:
func_in_hello_vm() can invoke func_native() and func_native() can invoke func_in_hello_vm().
But programmer does not need to implement this using function pointers. Since they were both ELF, a naiive idea is it should be possible to link each other and perform necessary ABI conversions.
What do you think?
On Mon, Mar 5, 2018 at 8:34 AM Jim Huang [email protected] wrote:
Is it something like JNI?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jserv/full-stack-hello/issues/41#issuecomment-370279428, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzjSHgJB6T-fCFZnvk2Seg-_Q2kfgHEks5tbIgDgaJpZM4N0MaH .