ValiantCEO
  • Interviews
  • Business Wisdom
  • Tech & Business
  • Business News
  • Economy
  • Community
  • Login
No Result
View All Result
ValiantCEO
No Result
View All Result
valiant
No Result
View All Result

GraalVM boosts Java performance with Truffle framework

Jarvis Dobrik by Jarvis Dobrik
April 9, 2021
in Tech & Business
0 0
GraalVM boosts Java performance with Truffle framework
GraalVM and boosts Java performance

GraalVM, an Oracle Labs project providing a multi-language virtual machine, has added experimental support for Java on the Truffle framework, which derives high-performance code from interpreters and allows for efficient running of languages. The move elevates Java to the level of other languages on GraalVM and boosts Java performance.

Java on Truffle is introduced in GraalVM 21, which was published on January 19. GraalVM 21 has an installable component, called Espresso, that makes it possible to run Java code via a Java bytecode interpreter implemented with the Truffle framework. In addition to the bytecode interpreter, Java on Truffle provides other core components of a Java virtual machine including a single pass .class file parser, a simple object model, and a Java Native Interface (JNI) implementation. Java 8 and Java 11 are supported.

[ Also on InfoWorld: JDK 16: The new features in Java 16 ]

Thus in GraalVM 21 Java can be executed by the same principles as other languages the GraalVM supports, such as Python, Ruby, and JavaScript. However, current performance of Java on Truffle is not representative of what it will be in the near future. Performance is expected to increase rapidly in upcoming GraalVM 21.x releases.

Prior to version 21, GraalVM ran Java via the HotSpot VM with the GraalVM JIT compiler or via compilation to a native executable via GraalVM Native Image.

GraalVM 21 Community and Enterprise editions can be downloaded from graalvm.org. Other new capabilities in GraalVM 21 include:

  • Added Java serialization support for Native Image binaries.
  • For JavaScript, the Node.js distribution has been updated to version 12.20.1. Also ECMAScript features enabled by default include class fields, Promise.any, String.prototype.replaceAll, and Logical Assignment Operators.
  • The Ruby implementation now targets Ruby 2.7.2.
  • For Python, the jarray module has been added for compatibility with Jython, a Java implementation of Python.
  • For the LLVM bitcode runtime, AST (abstract syntax tree) sharing has been improved and support introduced for auxiliary engine caching.
  • The GraalWasm interpreter for WebAssembly gains better peak performance and faster warmup.
  • As part of the GraalVM introduction, the GraalVM Extension Pack for Visual Studio Code has been introduced as a technology preview. It is available in the Visual Studio Code Marketplace.
Tags: Tech
Previous Post

Using OPA with GitOps to speed cloud-native development

Next Post

An Interview with Kristine Moody, Founder of Team Magnus

Jarvis Dobrik

Jarvis Dobrik

Valuer | Photographer | Writer Motivating the world through Entrepreneurship and Self-Growth Quality over quantity.

Next Post
An Interview with Kristine Moody, Founder of Team Magnus

An Interview with Kristine Moody, Founder of Team Magnus

Please login to join discussion

Leadership Highlights

Author

Jarvis Dobrik

Valuer | Photographer | Writer
Motivating the world through Entrepreneurship and Self-Growth
Quality over quantity.

READ ARTICLE

Contact Us

staff@valiantceo.com

  • Business News
  • Business Wisdom
  • Interviews
  • Community
  • Tech & Business
  • Economy
  • About us
  • Cookie Policy
  • Editorial Policy
  • Privacy & Policy
  • Contact
  • VIP Author

© 2023 ValiantCEO - All rights reserved

Newsletter Sign Up

Our biggest stories, delivered to your inbox everyday.

Loading

By signing up you agree to our User Agreement , our Privacy Policy & Cookie Statement and to receive marketing and account-related emails from Valiant CEO. You can unsubscribe at any time.

 

 

No Result
View All Result
  • Interviews
  • Business Wisdom
  • Tech & Business
  • Business News
  • Economy
  • Community

© 2021 valiantceo

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In