Grilled Cheese

ExploreLog inSign up

arv

@arv.tools

197 Following160 Followers

Partner at rocicorp.dev, building zero.rocicorp.dev

Ex V8, Chrome, TC39, Gmail, Gears

PostsRepliesMedia
@tomayac.comNov 27, 2026, 11:48 AMReposted by @arv.tools

If you work for a company or an organization, consider signing this open letter by @open-web-advocacy.org to @vonderleyen.ec.europa.eu to demand a competitive web for a stronger Europe. But you can also sign as an individual. action.open-web-advocacy.org 🇪🇺🌐

action.open-web-advocacy.orgSIGN THE OPEN LETTER ASKING THE EU FOR REAL BROWSER COMPETITION ON IOSSignatures close Thursday 3 December 2026 at 09:00 CET. Ask the EU for real browser competition on iOS.
@arv.toolsNov 27, 2026, 9:16 AM

Also MDV wen?

@arv.toolsNov 27, 2026, 9:14 AM

Blast from the past!

@arv.toolsNov 24, 2026, 1:00 PM

Intuitively speaking... Where Node is going to win is long running monomorphic code that is optimized all the way to TurboFan. Interpreting and optomizing code is not free and that is why short running programs end up faster with Porffor.

@arv.toolsNov 20, 2026, 9:55 AM

We've had 11 years to fix those cases...

@arv.toolsNov 20, 2026, 9:27 AM

It's 11 years later and we are still using module.exports?

@arv.toolsNov 18, 2026, 1:43 PM

On my way to Amsterdam for @perfnow.nl

@arv.toolsNov 18, 2026, 1:43 PM

On my way to Amsterdam for @perfnow.nl

@arv.toolsNov 17, 2026, 12:34 PM

Having to provide the source code for the GreenThread is unfortunate. Can the argument be a module specifier instead? Maybe that would be confusing since the green thread has its own module loader? (I didn't read the PR)

@jasnell.meNov 16, 2026, 10:34 PMReposted by @arv.tools

I implemented a new type of lightweight worker for Node.js ... scratching a long time itch... www.jasnell.me/posts/green-...

jasnell.meGreen threads for Node.jsAn experimental node:green_threads module that runs V8 isolates on a small, shared pool of OS threads
@arv.toolsNov 12, 2026, 3:36 PM

Aggregates and JSON filters were the most wanted features this year!

ZZero@zero.rocicorp.devNov 12, 2026, 3:34 PM

Zero 1.12 is out 🎉 • Synced aggregates: count(), sum(), avg(), min(), max() • groupBy() and distinct() • JSON path filters • React Native cold start about 3x faster • zero-cache uses up to 1.8x less CPU zero.rocicorp.dev/docs/release...

zero.rocicorp.devZero 1.12Synced Aggregates and JSON Path Filters
@arv.toolsNov 11, 2026, 7:06 AM

But the ergonomics of actors (new Worker) is terrible. The thing that shared memory unlocks is to actually create ergonomic actors. Another path forward would be to add actors to the language somehow?

@arv.toolsNov 11, 2026, 7:01 AM

I don't understand your point. Multi threading unlocks better performance. It is true that actors with message passing are a simpler and safer solution. The problem with message passing is the price of copying data. Threads or shared structs both solve this.

@arv.toolsNov 10, 2026, 8:43 AM

The only reason I still check on x is to read Jared Sumner's explorations of the JavaScript language.

@ericlawrence.comNov 7, 2026, 9:04 PMReposted by @arv.tools

Photo, no description
@arv.toolsNov 6, 2026, 6:59 PM

More Hermes optimizations.

Implementing TimSort in JS is about 17-25x faster than the builtin Array.prototype.sort.

github.com/meta/hermes/...

github.com`Array.prototype.sort` is not adaptive: already-sorted input costs a full O(N log N), ~15x the necessary comparisons · Issue #2301 · meta/hermesSummary Hermes' Array.prototype.sort does no natural run detection, so sorting an array that is already in order costs the same as sorting random data. V8 uses TimSort, an adaptive merge sort, and ...
@arv.toolsNov 6, 2026, 6:13 PM

TIL Hermes does not support async generators natively. Refactor the code to use callbacks for a 29x speedup!

@arv.toolsNov 5, 2026, 8:35 AM

Workers are already actors. Expensive AF actors, but still actors. What makes Erlang stand out is immutable data, so copying is safe and invisible. JS can’t retrofit that. With shared memory you can build efficient Erlang-like actors. Workers won’t give you that.

@arv.toolsNov 4, 2026, 8:52 PM

I haven’t been able to stop thinking about multithreaded JavaScript, so I built it three times: shared-everything threads in Porffor, an ownership checker for TypeScript, and a polyfill of the TC39 structs proposal. Playgrounds included.

blog.arv.tools/archives/202...

blog.arv.toolsMultithreaded JavaScriptOver the last few weeks I haven't been able to stop thinking about multithreaded JavaScript. It all started with me seeing Jarred Sumner's PR adding shared-memory threads to JavaScriptCore in ...
@arv.toolsNov 4, 2026, 12:07 PM

12 years later and I've resurrected my old blog.

blog.arv.tools

blog.arv.toolsarv-o-matic ← The Weblog of Erik Arvidsson
Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST