News for hackers. Stuff that matters.
Re:V8 release v6.8 by imjasonmiller on Thursday June 21, 2018 @08:09AM (#17364343)
Wouldn’t a UI in WebAssembly make it impossible to block ads? The recent QT announcement renders to Canvas doesn’t it?

I thought the idea was to mostly use WebAssembly for parts that are performance critical, not replace all of it?

Re:V8 release v6.8 by shawnz on Thursday June 21, 2018 @08:16AM (#17364385)
This has always been possible if you just write sufficiently obfuscated JavaScript. However a UI that is entirely rendered in a canvas element would basically be unusable by anyone with a disability, so that technique is useless for big orgs.
Re:V8 release v6.8 by gnode on Thursday June 21, 2018 @08:22AM (#17364425)
The cynic in me can't help but expect most web companies to care more about pushing unblockable ads down everyone's throats than about the disabled.
Re:V8 release v6.8 by acdha on Thursday June 21, 2018 @08:47AM (#17364560)
That’s why decent countries have regulation to make them care about things other than short-term profit.
Re:V8 release v6.8 by pjmlp on Thursday June 21, 2018 @09:30AM (#17364887)
It is not correct, but most big orgs don't care about those details unless they are legally enforced by the government.

I am yet to have worked in any web project where stuff like ARIA was even on the requirements list.

Re:V8 release v6.8 by Ajedi32 on Thursday June 21, 2018 @10:23AM (#17365379)
Unless they spent a _ton_ of effort re-implementing the DOM/native browser UI in canvas, it'd probably be basically unusable by anyone without a disability too.
Re:V8 release v6.8 by jopsen on Thursday June 21, 2018 @08:26AM (#17364443)
What stopping anyone from adding accessibility features to single element canvas apps?

A UI framework developed exclusively for canvas-apps could probably add many such features.

Re:V8 release v6.8 by earenndil on Thursday June 21, 2018 @02:58PM (#17368243)
It would also be impossible to inject ads into an existing wasm ui that didn't have them.
Re:V8 release v6.8 by dmm on Thursday June 21, 2018 @09:15AM (#17364756)
> Wouldn’t a UI in WebAssembly make it impossible to block ads?

In the future machine learning will be applied to detect and disable ads visually.