Live data from Hacker News

Shadow: New browser engine made almost entirely in JavaScript

goose.icu

141–150 of 303 posts

Re: Shadow: New browser engine made almost entirely in JavaScript

#143
post #66

When desktop applications running in electron, just doesnt have enough web abstraction to keep up with mores law, a hero comes along, to ensure there can always be one more level of java script between you and a responsive UI.

Speaking of Electron... when I start my Slack client for work, there are a series of processes where at least one reports 1.130 terabytes of virtual memory. (Shown in top as "VIRT".) Now, maybe that's just a potential usage that trust-me-bro it'll never actually try to use or access in RAM or on disk... but how on earth is that number for a chat client so much bigger than either Firefox with 100+ tabs or even Java-ba…

V8 allocates a “gigacage” around every wasm memory area on modern 64 bit processors and marks them so the OS will trap on an unexpected access. This is much more efficient than doing a bounds check on every access. These pages are not actually resident.

“Big number is scary” is not a good way to understand performance.

Re: Shadow: New browser engine made almost entirely in JavaScript

#146
post #140
post #98

Earlier quoted context omitted.

> ad companies would get approximately every website in the world to use this technique I really doubt it, but if that did happen then I could simplify my filter list to just a single wildcard. Silver lining.

and stop participating in online society? Are you going to stop buying from ecommerce sites, viewing youtube, and reading your gmail? I think it's an inevitable future tbh. The users have lost - they just dont know it yet. Google's WEI [1] is their first foray into this, and i dont doubt there will be future iterations they try to push through. The browser-in-browser is but one alternative idea. [1] https://en.wikipe…

> and stop participating in online society?

Sure. This site is one of very few sites I can bear to visit. I come here for the comments, I don't even open the links anymore, I just assume people will quote anything important.

When I made my own website, I deliberately set out to avoid as many of these obnoxious dark patterns as humanly possible. The result was basically a marginally improved motherfucking website and I'm actually pretty happy with it. I think that's how websites should be.

If the web is gonna turn into an opaque proprietary mess for the benefit of advertisers, it doesn't even deserve to exist.

> Are you going to stop buying from ecommerce sites

Absolutely. I already avoid it.

> viewing youtube

Absolutely. I already use yt-dlp, if that stops working I'm just gonna forget about it.

> and reading your gmail?

I rarely read it anyway.

Re: Shadow: New browser engine made almost entirely in JavaScript

#147

There's a product here that's been waiting to happen for awhile. I've been anticipating somebody cross-compiling another browser engine to WASM but this works, too. Deliver your site only to the "inner browser" (that the user has no control over because it's heavily obfuscated and tricked-out with anti-debugging code) and you eliminate all ad blockers. Throw some DNS-over-HTTPS w/ certificate pinning in for good meas…

Godel would like a word with you. https://plato.stanford.edu/entries/goedel-incompleteness/sup... .

By that logic emulators and virtual machines shouldn't be possible.

Re: Shadow: New browser engine made almost entirely in JavaScript

#148

There's a product here that's been waiting to happen for awhile. I've been anticipating somebody cross-compiling another browser engine to WASM but this works, too. Deliver your site only to the "inner browser" (that the user has no control over because it's heavily obfuscated and tricked-out with anti-debugging code) and you eliminate all ad blockers. Throw some DNS-over-HTTPS w/ certificate pinning in for good meas…

This is an unnecessarily complicated way to block adverts. Just proxy them through the site the user is visiting. Done.

Re: Shadow: New browser engine made almost entirely in JavaScript

#149

There's a product here that's been waiting to happen for awhile. I've been anticipating somebody cross-compiling another browser engine to WASM but this works, too. Deliver your site only to the "inner browser" (that the user has no control over because it's heavily obfuscated and tricked-out with anti-debugging code) and you eliminate all ad blockers. Throw some DNS-over-HTTPS w/ certificate pinning in for good meas…

This sounds like Flutter

Flutter on web is horrible if you do it that way. There is a native renderer that renders to dom and is much faster.
Post reply on HN