Polyglot

From APIDesign

Jump to: navigation, search

One of the unique features of Truffle is its wikipedia::polyglot nature. The ability to freely mix languages like JavaScript, Ruby or R at full speed (as demonstrated by my sieve project) is clearly amazing. Not only it changes the way we interop between libraries written in different languages, but it also changes the way we develop PolyglotAPIs ready for polyglot world!

GraalVM Insight is an example where such a Polyglot system can bring many benefits. One can write Insights in any language JavaScript, Ruby, etc. and apply them to any other language including also C, C++, Fortran, etc. Write your Insight scripts once and apply them on any polyglot ready program!

Personal tools