top | item 45939345

(no title)

speps | 3 months ago

With projects like this competing against well known massive competitors (eg. the browser JS engines), not seeing their main competitors in a benchmark is a massive red flag to me: https://boajs.dev/benchmarks

Not seeing V8, SpiderMonkey JavaScriptCore is very strange...

discuss

order

0cf8612b2e1e|3 months ago

This is offering a JS scripting layer in an otherwise Rust project. Performance is nice, but probably not a requirement.

ivankra|3 months ago

> Not seeing V8, SpiderMonkey JavaScriptCore is very strange...

They do compare with JIT-less V8 and SpiderMonkey there, just JSC is missing.

I recently did my own benchmarking with a lot more engines, including other Rust engines: https://ivankra.github.io/javascript-zoo/?v8=true

Personally, I'm more impressed with https://github.com/Hans-Halverson/brimstone - it is faster, nearly just as full featured (almost full ES2025) and last but not least, a single person project.

nekevss|3 months ago

Yeah! I found out about Brimstone just the other day! Its definitely interesting! One optimization that they have that Boa needs to implement is ropes for our string type :)

gr4vityWall|3 months ago

It's an embedded engine for scripting a bigger application. Its main "competitor" would be QuickJS.

Though they aren't really competing on anything as far as I can tell, so maybe calling it a "similar project" is more fitting.

mort96|3 months ago

It's not competing with V8, SpiderMonkey and JavaScriptCore.

IshKebab|3 months ago

Well, it is, because V8 is definitely an embeddable JS engine. For many people they might want to make a choice between V8 and Boa and for them the performance numbers are important information!

vlovich123|3 months ago

V8-jitless is in the benchmarks and even then still blows it away, as does quickjs.

jitl|3 months ago

Both SpiderMonkey jitless (sm-jitless) and v8 jitless are on the benchmarks page, if you click the checkboxes you will see them in the graphs.