Timo Tijhof · @krinkle
712 followers · 753 posts · Server fosstodon.org

How does Code Caching work for Chromium's V8 JavaScript compiler?

Deep dive by Leszek Swirski on how repeat views not only leverage the browser cache for the network response, but also the compiler bytecode. It even includes a limited amount of state snapshot if the initial execution appears deterministic (eg save runtime execution logic for defining and exporting functions).

Good reason to keep library code definitions simple.

v8.dev/blog/code-caching-for-d

#webperf #v8 #spidermonkey #chromium

Last updated 1 year ago

Timo Tijhof · @krinkle
708 followers · 697 posts · Server fosstodon.org
Axel Rauschmayer · @rauschma
4134 followers · 1911 posts · Server fosstodon.org
Mike Rochefort 🐧 :fedora: · @omenos
72 followers · 570 posts · Server fosstodon.org

@owa As your org members are way more knowledgeable than myself: if we take away the end application and focus on the underlying toolkits, how far behind is WebKit/JavaScriptCore in comparison to Gecko/SpiderMonkey and Blink/V8?

#web #webdev #browser #engine #BrowserEngine #javascript #apple #safari #webkit #javascriptcore #google #chrome #blink #v8 #mozilla #firefox #gecko #spidermonkey

Last updated 2 years ago

Raj Rajnarayanan :verified: · @tRAJectory
871 followers · 539 posts · Server mstdn.social

Recently reported infections in - USA

Two from with XBB.1.5 (Samples collected in 2/2/23 & 3/3/23)

from with BA.2.18 (6/19/22)

A dog from with BA.4.6 (1/13/23)

#NewJersey #Arizona #spidermonkey #California #Dogs #Animals #sarscov2

Last updated 2 years ago

Charles U. Farley · @freakazoid
853 followers · 18799 posts · Server retro.social

Have the (or for that matter) devs started caring about any use other than the browser yet, or are the devs still spending most of their time fixing breakage caused by V8 API changes?

Alternatively, is there a implementation with performance comparable to V8 or SpiderMonkey that is targeted at applications other than the browser?

#v8 #spidermonkey #nodejs #javascript

Last updated 2 years ago

Zoo Boise · @zooboise
52 followers · 9 posts · Server mas.to
Redfire · @redfire
41 followers · 44 posts · Server mastodon.online

has this minor optimisation for strings where, instead of copying, the data is leaked temporarily, and you're responsible for freeing it when the GC tells you that its safe.

This is fine given that JS Strings are immutable.
These are referred to as External Strings.

I'm thinking about implementing this for , just because I can really, not because anyone will ever use it.

#spiderfire #spidermonkey

Last updated 2 years ago

Maciej Barć · @xgqt
252 followers · 2543 posts · Server fosstodon.org
Maciej Barć · @xgqt
252 followers · 2543 posts · Server fosstodon.org

I wonder if JerryScript could replace SpiderMonkey for Linux system JS interpreter (for polkit & libproxy).

github.com/jerryscript-project

#jerryscript #js #línux #spidermonkey

Last updated 4 years ago