The introduction of possible future trends Graal VM

Grail VM

In April 2018, Oracle Labs publicized Graal VM, known as“Run Programs Faster Anywhere”

Graal VM is enhanced on the basis of HotSpot VM 跨语言全栈虚拟机,可以作为“任何语言”的运行平台使用. Languages ​​include: Java, Scala, Groovy, Kotlin; C, C++, Javascript, Ruby, Python, R, etc.

It supports the mixed use of each other's interfaces and objects in different languages, and supports these languages ​​to use the native library files that have been written.

The working principle is that the source code of these languages ​​or the compiled intermediate format of the source code is converted into an intermediate representation that can be accepted by Graal VM through an interpreter. GraalVM provides Truffle toolset to quickly build an interpreter for a new language. Compilation optimization can also be carried out at runtime, resulting in better execution efficiency than native compilers

Guess you like

Origin blog.csdn.net/qq_41813208/article/details/108571326