3 ms·
We don't convert. We have defined a contract that all languages can work with (quite a challenge and still evolving). From the website: > In order to provide
by grashalm 8y ago
We don't convert. We have defined a contract that all languages can work with (quite a challenge and still evolving).
From the website:
> In order to provide foreign polyglot values meaning in languages we have developed the so-called polyglot interoperability protocol. This interoperability protocol consists of a set of standardized messages that every Graal language implements and uses for foreign polyglot values. The protocol allows GraalVM to support interoperability between any combination of languages without requiring them to know of each other.
This technique is based on some research we did in 2015:
http://chrisseaton.com/rubytruffle/dls15-interop/dls15-interop.pdf http://chrisseaton.com/rubytruffle/dls15-interop/dls15-inter...