Re:GraalVM: Run Programs Faster Anywhere
by miguro on Tuesday April 17, 2018 @07:17PM
(#16863154)
That's the thing - there is no marshaling. The objects are passed between the languages as pointers under-the-hood. There is a standard way of invoking methods/functions on those pointers, that works across all languages.
[ Parent
| on HN ]
Re:GraalVM: Run Programs Faster Anywhere
by chrisseaton on Tuesday April 17, 2018 @09:32PM
(#16863941)
To give you an idea of how deep this goes - you can pass a Ruby object to a C function and the C function can read and write it as if it was a pointer to a structure.