JavaScript engines zoo – Compare every JavaScript engine
11–20 of 97 posts
Re: JavaScript engines zoo – Compare every JavaScript engine
#12This is super cool, I didn't know JavaScriptCore consistently outperformed V8 And SpiderMonkey seems... not up there compared to the other 2
Interesting how V8 to JSC ~2x LOC but ~2/3 the binary size.
Re: JavaScript engines zoo – Compare every JavaScript engine
#13This is super cool, I didn't know JavaScriptCore consistently outperformed V8 And SpiderMonkey seems... not up there compared to the other 2
Re: JavaScript engines zoo – Compare every JavaScript engine
#14It'll be interesting to see how much it will affect React Native apps as it gets more and more optimized for this use case
Re: JavaScript engines zoo – Compare every JavaScript engine
#15This is super cool, I didn't know JavaScriptCore consistently outperformed V8 And SpiderMonkey seems... not up there compared to the other 2
Disappointing for Firefox for such lower performance. I just ran the JetStream2 benchmark and got: - Firefox: 159 score - Chromium: 235 score That's on latest Fedora Linux and Ryzen 3600 CPU.
- Firefox: 253.584
- Safari: 377.470
- Chrome: 408.332
- Edge: 412.005
Re: JavaScript engines zoo – Compare every JavaScript engine
#16I assume the 98% compatibility on ES6 for V8 is because they don't have tail call optimisation?
Maybe because with tail call optimization you wouldn't have a proper stack trace?
Re: JavaScript engines zoo – Compare every JavaScript engine
#17Is this right? Brimstone has a single contributor, 74k LoC (vs 1.3M for V8) and it's 97% compatible with ES6? That's a staggering accomplishment. https://github.com/Hans-Halverson/brimstone
Re: JavaScript engines zoo – Compare every JavaScript engine
#18Re: JavaScript engines zoo – Compare every JavaScript engine
#19The amount of work just to aggregate and compare is admirable, let alone the effort behind the engines themselves.
Re: JavaScript engines zoo – Compare every JavaScript engine
#20This is super cool, I didn't know JavaScriptCore consistently outperformed V8 And SpiderMonkey seems... not up there compared to the other 2
That’s the promise of Bun - that it is faster because it uses JavascriptCore.
I believe long term, V8 will become the undisputed champ again as Google has a lot more incentive than Apple to make the fastest engine, but this is just a wild guess of mine, and I'm biased being a Node.js Collaborator
I've been hearing for a while that JSCore has a more elegant internal architecture than V8, and seeing the V8 team make big architectural changes as we speak seems to support it [1], but like I said, hopefully they will pay off long term
[1]