Skip to content
프로젝트

소개

⌒ JavaScript on the BEAM

프로그래밍 언어 및 런타임

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

arc ⌒

JavaScript on the BEAM

js

Arc is a JavaScript engine and runtime written in Gleam. It implements the ECMAScript spec. On its own it has no effects, timers or I/O. The program that embeds Arc provides those, and Arc's embedding API makes that easy.

There's also Spark, a Node.js compatibility layer for Arc. Spark does provide I/O and timers, such as fs.readFile and setTimeout. You can think of Arc as the equivalent of JSC or V8, and Spark as the equivalent of Bun or Node.js.

Arc's API can change from one commit to the next, which is true of many engines. We recommend pinning to a commit SHA and upgrading on a regular schedule.

By default Arc interprets JavaScript, but it can also compile JavaScript to Erlang ahead of time (AOT). AOT has tradeoffs, and we don't recommend it for dynamic code, such as code generated at runtime. Arc runs on Erlang/OTP, and in the browser on our own fork of AtomVM compiled to WebAssembly. We forked AtomVM to make it faster in the browser.

Arc is tested against test262 on every commit:

test262 conformance chart



Arc uses the Mozilla Public License, Version 2.0.

관련 프로젝트 살펴보기

불러오는 중…