Graal VM: Game Changer!


A recent project for a large asset management client firm resulted in the development of a data analytics platform.  The core system used Java to ingest data in real-time, with a persistence model into anything JDBC compliant (in this case, MSSQL Server on CentOS) as well as into kdb+.  Alongside the traditional core Java are a series of components written using Python and R. As well as an HTML5 UX using JavaScript.

Each different language used to require a run-time, IDE, series of dependencies and so on...

The Graal VM project changes that - in their own words it is:

GraalVM is a universal virtual machine for running applications written in JavaScript, Python, Ruby, R, JVM-based languages like Java, Scala, Kotlin, Clojure, and LLVM-based languages such as C and C++.

Simply install Graal, set $PATH and $JAVA_HOME and then run the gu utility 

Installed Graal VM on CentOS 7

Then run the gu utility to install the relevant modules:
Install modules with gu
Along with this is an Ahead-Of-Time compiler as well.

Clearly this is only at Release-Candidate stage.  But if it matures well, this will allow for much faster development of fintech applications that use a mixture of languages.  Perhaps this is the dawn of the polyglot run-time, rather than one per language and middleware such as RabbitMQ acting as glue?

One to follow!

Comments