Using Java libraries from a Node.js application. Testcontainers example by Oleg Šelajev

image

GraalVM allows seamless and high-performance interoperability between a set of supported languages. Currently, this means JavaScript, including Node.js applications, Python, Ruby, R, JVM languages, and everything that compiles with LLVM.

A typical motivation for a polyglot runtime like GraalVM is to enhance an application written mostly in one language with small snippets in another language. For example, you could think of using R in a Java Spring application to visualize some data, or, perhaps, one could use Python’s machine learning libraries in a node app. Or you can use a runtime like GraalVM to add scripting capabilities to your platform, either on the JVM or a native application: kinda like the multilingual engine does in the Oracle Database.

But also every language ecosystem comes with libraries that are excellent and have worse alternatives in the other languages. Allowing to use these libraries (others too, but these are where the value comes from) from other languages means the library authors do not need to provide bindings in every language but can concentrate on whichever makes them the most productive. Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.