Show HN: Firefox in WebAssembly
11–20 of 134 posts
Re: Show HN: Firefox in WebAssembly
#12I'm so glad this exists, I've been considering doing something like this for a few months. I recently got a TV based on VIDAA os, a locked-down linux-based OS where everything is rendered from Web pages. It has a built-in browser that doesn't support ad-blocking (I suspect VIDAA is profiting from showing ads on the TV), and you can't install new apps unless they're Web pages. This would hopefully allow one to run Fir…
Re: Show HN: Firefox in WebAssembly
#13Re: Show HN: Firefox in WebAssembly
#14... doesn't support Firefox mobile apparently :D
Does firefox mobile (Android, since firefox mobile iOS is a WebKit wrapper) support about:config settings? if so you can enable wasm_js_promise_integration in about:config and have it working likely. I will test this on my Pixel 10 pro
and by "will work" I mean will render the first frame and then freeze
YMMV
Re: Show HN: Firefox in WebAssembly
#15Re: Show HN: Firefox in WebAssembly
#16this is so rad! 25k tokens is a lot less than i thought this'd take -- what were the difficult bits in the porting process? also, was firefox preferred because parts of it are already in rust?
Re: Show HN: Firefox in WebAssembly
#17https://github.com/theogbob/WebkitWasm
Not as polished as the firefox port but is a fully working port of webkit ported with fable, opus and some glm 5.2.
Re: Show HN: Firefox in WebAssembly
#18edit: I misunderstood, that's $25k not 25k tokens :/ time to log off. this is so rad! 25k tokens is a lot less than i thought this'd take -- what were the difficult bits in the porting process? also, was firefox preferred because parts of it are already in rust?
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
#19Prior art: WebKit.js, the WebKit rendering engine ported to JS https://github.com/trevorlinton/webkit.js/
Re: Show HN: Firefox in WebAssembly
#20edit: I misunderstood, that's $25k not 25k tokens :/ time to log off. this is so rad! 25k tokens is a lot less than i thought this'd take -- what were the difficult bits in the porting process? also, was firefox preferred because parts of it are already in rust?
$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…