News for hackers. Stuff that matters.
Re:Bonsai: Janestreet's UI Library by danielheath on Monday August 03, 2026 @07:48AM (#49154496)
> Is there some limitation that WASM has that JS doesn't?

You need a JS trampoline to call your WASM and make browser primitives available to it, and IIRC calls into browser code incur some extra overhead, but those are pretty manageable.

Additionally: for high level languages, source code is _much_ smaller than compiled binaries. If your initial needs are simple, your users are likely downloading more than 10x as much code.

There are no comments on this comment yet.