boa VS starlight

Compare boa vs starlight and see what are their differences.

boa

Boa is an embeddable and experimental Javascript engine written in Rust. Currently, it has support for some of the language. (by boa-dev)

starlight

JS engine in Rust (by Starlight-JS)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
boa starlight
6 6
2,543 374
2.7% 5.3%
9.6 9.5
6 days ago 3 months ago
Rust Rust
GNU General Public License v3.0 or later Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

boa

Posts with mentions or reviews of boa. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-11.

starlight

Posts with mentions or reviews of starlight. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-06.
  • gc-shadowstack: Implementation of shadow stack algorithm to track GC rooted objects.
    1 project | reddit.com/r/rust | 9 Apr 2021
    Hello to all! This crate implements Shadow Stack algorithm which allows to track GC objects on stack with almost zero overhead! This algorithm is used inside Restricted Python and seems to work very well. This crate soon will replace DIY shadow stack implementation in starlight(JS engine in Rust) too.
  • March 2021 monthly "What are you working on?" thread
    16 projects | reddit.com/r/ProgrammingLanguages | 6 Mar 2021
    Working on startup snapshots in starlight. I already have very basic implementation which allows to initialize runtime in just 17 microseconds from snapshot vs 23 microseconds without snapshot when every builtin is created from scratch. Future work is aimed mostly on making deserialization faster
  • Reference counting GC vs tracing GC and JITs
    1 project | reddit.com/r/ProgrammingLanguages | 28 Feb 2021
    Hi to all! I'm working on starlight (JS engine in Rust) and I can't choose memory management technique: Right now I have conservative on stack precise on heap GC which somehow manages to work but still has segfaults and I'm also working on rcgc feature which will use RC as GC algorithm but my main question: is it worth using RC over tracing cycle and how hard it will be to implement JIT when RC is used? I've never seen any runtimes that use RC and implement JIT.
  • Starlight: JS engine focused on performance in Rust.
    5 projects | reddit.com/r/rust | 19 Feb 2021
    I'd honestly just take the dependency on rand in wtf-rs instead of rewriting rc4. You already depend on rand in the main crate. (And I don't know if attacks on rc4 drop are known, but there's much better RNGs out there to use).
    5 projects | reddit.com/r/rust | 19 Feb 2021
    Thanks! Here's a link to some relevant CI output, if anyone else wants to take a look.
    5 projects | reddit.com/r/rust | 19 Feb 2021
    There's test262_passed file in repo, you can take a look at what tests pass :)

What are some alternatives?

When comparing boa and starlight you can also consider the following projects:

jsparagus - Experimental JS parser-generator project.

RustPython - A Python Interpreter written in Rust

tauri - Build smaller, faster, and more secure desktop applications with a web frontend.

firecracker - Secure and fast microVMs for serverless computing.

Rust - All Algorithms implemented in Rust

quiche - 🥧 Savoury implementation of the QUIC transport protocol and HTTP/3

napi-rs - A framework for building compiled Node.js add-ons in Rust via Node-API

rslint - A (WIP) Extremely fast JavaScript and TypeScript linter and Rust crate

wasmtime - Standalone JIT-style runtime for WebAssembly, using Cranelift

wasmi - WebAssembly (Wasm) interpreter.

RSLint - A (WIP) Extremely fast JavaScript and TypeScript linter and Rust crate [Moved to: https://github.com/rslint/rslint]

deno - A modern runtime for JavaScript and TypeScript.