Front-end Frameworks

GraalJS – ECMAScript-compliant JavaScript engine

GraalJS is a JavaScript engine built on GraalVM and the Truffle language implementation framework. It provides an ECMAScript-compliant execution environment that can operate independently or be embedded within Java applications. Its architecture uses dynamic compilation and runtime optimisation to improve the performance of frequently executed code.

A distinctive aspect of GraalJS is its support for interoperability between programming languages. JavaScript code can interact with Java objects, invoke methods and exchange data with other languages supported by GraalVM. This makes the engine particularly useful for adding scripting capabilities to existing Java applications, developing polyglot software and migrating applications that previously relied on the Nashorn or Rhino JavaScript engines.

This is free and open source software.

Key Features

  • Support for modern ECMAScript language specifications.
  • Execute JavaScript applications through a dedicated standalone runtime.
  • Node.js runtime supporting existing applications and a wide range of npm modules.
  • Support for native Node.js extensions.
  • Bidirectional access to Java objects, methods and JavaScript values.
  • Embed JavaScript execution in Java applications through the GraalVM Polyglot API.
  • Configurable host access policies governing interaction with Java classes and native resources.
  • Share data and invoke functions across supported GraalVM languages.
  • WebAssembly interoperability through the JavaScript WebAssembly API when the corresponding language support is available.
  • Interactive JavaScript shell for evaluating expressions and experimenting with language features.
  • Debugging and profiling facilities through the GraalVM instrumentation framework.
  • Compatibility options to assist migration from Nashorn-based applications.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/oracle/graaljs
Support:
Developer: Oracle
License: Universal Permissive License v1.0

GraalJS is written in C++ and C. Learn C++ with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials.


Related Software

JavaScript Engines
V8High-performance JavaScript and WebAssembly engine
SpiderMonkeyJavaScript and WebAssembly Engine, used in Firefox, Servo and more
QuickJSSmall and embeddable Javascript engine
HermesJavaScript engine optimized for React Native
RhinoJavaScript in Java
JerryScriptJavaScript engine for the Internet of Things
GraalJSECMAScript-compliant JavaScript engine
EscargotLightweight JavaScript engine
DuktapeEmbeddable JavaScript engine, focusing on portability and compact footprint
ElkTiny embeddable JavaScript engine

Read our verdict in the software roundup.

JavaScript Runtime Environments
Node.jsHugely popular cross-platform JavaScript run-time environment
BunFast JavaScript runtime designed as a drop-in replacement for Node.js.
DenoSimple, modern and secure runtime for JavaScript and TypeScript
WasmEdgeHigh-performance, and extensible WebAssembly runtime
workerdJavaScript and WebAssembly server runtime
LLRTDesigned for fast, resource-efficient serverless applications
txiki.jsSmall and powerful JavaScript runtime
JerryScriptJavaScript engine for the Internet of Things
GraalJSECMAScript-compliant JavaScript engine
Window.jsJavaScript runtime for desktop graphics programming
BlueboatMulti-tenant serverless JavaScript runtime
loSuccessor project to Just
StarlingMonkeySpiderMonkey-based JavaScript runtime
JustVery small v8 JavaScript runtime

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted