Elide 1.0.0-alpha10 Help

JavaScript

Elide can execute JavaScript, just like Node.js, Deno, or Bun. Similar to other popular JavaScript runtimes, Elide strives for Node API compatibility.

elide run --javascript ...
export default function hello() { console.log("Elide can run JavaScript!") }

Language Engine

Elide is an ECMA2023-compliant JavaScript engine. JS is the most mature language offered by Elide; execution is powered by GraalJs, which ships with GraalVM.

Language

JavaScript

Standard

ECMA2023

Maturity

Beta

Engine

GraalJs

Node API

The Node API constitutes the functions and modules provided by Node.js on top of V8; the Node API is really big, and covers everything from assertion testing to zlib compression.

Elide aims for full Node API compatibility where possible and applicable. What does that mean? Well, Elide is written on top of GraalVM rather than V8, so immediately several Node API modules do not apply (for example, the v8 module).

Most Node.js applications and libraries only make use of a small surface area of the Node API. As Bun and Deno have shown, a great deal of software can run out of the box with sufficient (but incomplete) Node API coverage.

Performance

Coming soon.

Stability

Coming soon.

Glossary

A definition list or a glossary:

JavaScript

It's a software language... barely.

Node.js

It's a JavaScript runtime which is designed primarily for server-side use. Node.js embeds Google's V8 JavaScript engine, the same available in Google Chrome.

Node API

Suite of APIs provided on top of regular JavaScript, which, collectively, become Node.js. For example, if you're ever imported or required the fs or path module, you've used the Node API.

ECMAScript

Formal name for JavaScript, as defined by the ECMAScript Standard. JavaScript language versions are denoted as ECMA years; for example, 'ECMA2023' includes JavaScript features up to the year 2023.

Last modified: 24 June 2024