alii/arc
关于
⌒ JavaScript on the BEAM
编程语言与运行时实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文arc ⌒
JavaScript on the BEAM
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:
Arc uses the Mozilla Public License, Version 2.0.
探索相关项目
加载中…