News for hackers. Stuff that matters.

coolelectronics

Re:Show HN: Firefox in WebAssembly on Wednesday July 15, 2026 @10:18PM (#48929664)
Unless you're running every origin in a different instance, I wouldn't use this as a daily driver, since a site would only need to find a renderer vuln to be able to read the rest of your cookies as multiprocess isolation is disabled here
Re:Show HN: Firefox in WebAssembly on Wednesday July 15, 2026 @07:52PM (#48928759)
It is required in order to yield the event loop and force an implicit sync on OffscreenCanvas. There is technically a slower workaround for this but JSPI is coming soon anyway to firefox 153 and safari 27.
Re:Show HN: Firefox in WebAssembly on Wednesday July 15, 2026 @06:07PM (#48927724)
$25k of tokens, closer to 30 billion I believe. It only took a few days to actually get the engine up, the hard parts where most of the effort was spent was squeezing out performance and increasing stability, as well as attempting the JIT.

Firefox was chosen because its single-process support was in a better place than chromium/blink. WebKit is also possible, it was done by a friend of mine earlier https://github.com/theogbob/WebkitWasm

Re:Show HN: Firefox in WebAssembly on Wednesday July 15, 2026 @05:56PM (#48927591)
We also plan on adding extension support to https://github.com/HeyPuter/browser.js soon, which should hopefully cover use cases like that as well without the full overhead
Re:Show HN: Firefox in WebAssembly on Wednesday July 15, 2026 @05:47PM (#48927491)
Oh and for anyone asking, you can run firefox-wasm inside firefox-wasm inside firefox! I only got this to load once though since it gets pretty unstable at that level.

Show HN: Firefox in WebAssembly

https://developer.puter.com/labs/firefox-wasm/

This is the entire Firefox browser rendering to a <canvas> element. Gecko, all UI components, and the Spidermonkey JS engine are all compiled and running in WebAssembly.Here are a few things you might find interesting:- This is fully end to end encrypted! We use the WISP protocol for TCP-over-websockets.- There is a novel WASM->JS JIT for experimental site speedup- This port cost over...

( Read More... | 125 comments | 110 points | on HN )
Re:OpenClaw Is Changing My Life on Sunday February 08, 2026 @11:41AM (#46935932)
In the past we had "friends" for this
Re:Hi, It's Me, Wikipedia, and I Am Ready for Your Apology on Tuesday October 28, 2025 @11:58AM (#45734580)
It took me less than a minute on the site to run into factually wrong information, broken citations, etc. Cannot imagine rotting my brain with knowingly bad information for over 2 hours
Re:Show HN: I'm Building a Browser for Reverse Engineers on Tuesday October 07, 2025 @06:03PM (#45509496)
Your example proxies the console object, the intended way in this case is to make a proxy from the log function itself and use the apply hook

toString will be called on the Proxy and not your hook so it won't reveal anything

Re:Show HN: I'm Building a Browser for Reverse Engineers on Tuesday October 07, 2025 @02:52PM (#45507181)
could be very useful for my work, nice to see
I've been basically doing this for years via a private mastodon instance. Very nice to see!
My bad! Switched over to the github pages fallback. Cloudflare pages isn't suitable because the wasm files (100mb+) exceed the 25mb limit. (i could bypass this with service worker jank but that tends to be fragile). Github Pages also isn't suitable because it doesn't have a native way of sending the coi/coep headers that are required for SharedArrayBuffer to be available. Can also bypass that with service worker jank but I would prefer not to
i do wish! firefox has web features missing that i need on a daily basis, and their developer team seems wholly uninterested on working on them at all
i would always tell them to install firefox. this is mostly for developers and tech oriented people who need to keep chrome around
why? firefox performance will always be worse than blink, if only because of spidermonkey

the last thing people want from electron is a worse version of it hogging more resources

Re:Boycott Xorg. It breaks everything on Sunday December 17, 2023 @03:59PM (#38676346)
it's satire
Re:Write shaders for the (sim) Vegas sphere on Thursday November 30, 2023 @10:16AM (#38474478)
really fucking cool! good job
the ability to make "worthless trash games" is the only reason that the indie industry can exist at all. there are huge communities around sharing small lower-effort projects (which countless well-received games started out as) and gatekeeping an engine to enterprise customers only would be a far far worse decision than what they've already done

besides, the rates only kick in after your profit reaches 200k so it wouldn't do anything

https://github.com/pixelomer/discord-fs I know this exists, don't think anyone's done the twitter thing yet