4 ms·
> Another reminder to check out WebAssembly. Right. The actual reason you see all the big companies loving WebAssembly is that now you can fully have cross-pla
by rvz 6y ago
> Another reminder to check out WebAssembly.
Right. The actual reason you see all the big companies loving WebAssembly is that now you can fully have cross-platform black-box DRM binaries running on every browser. But of course what could possibly go wrong?
It is another Adobe® Flash® that is controlled by the big tech companies rather than just one.
- untog 6y agoWe already have black box DRM binaries in browsers. That battle is lost. WebAssembly is not another Flash. It might allow someone to create something that resembles Flash, but WebAssembly itself is not. You might as well criticise C because people can write DRM with it.
- tgragnato 6y agoIsn’t EME limited to media sources? WebAssembly is not. It’s not a tiny difference, and skepticism is not necessarily unfounded.
- jopsen 6y agoSufficiently obfuscated JS isn't easy to read either.
- nonbirithm 6y agoOne point that I don't seem to hear a lot: You can still block ads on YouTube in the browser, but you can't in the mobile app. The difference is that in the browser you can open the page and inspect everything that it consists of. In the app everything is bytecode. The solution of stripping ads from the YouTube app is to maintain a hacked version and follow a convoluted multi-step process to root your device and disable signature verification just to be able to install it. What will the solution be when webpages bundle both the content and advertisements into inseparable binary black boxes? I think the population that consumes YouTube in general is much larger than the population that consumes paid content with DRM, and there would be a much larger pushback if webpages like YouTube started to be distributed in compiled format.
- qppo 6y agoThis has nothing to do with bytecode and everything to do with the security models used by Android and iOS.
- untog 6y agoAd blockers don’t work by inspecting the source code of YouTube’s JS and modifying it. Instead they inspect the network requests being sent, cookies being stored, elements being created and with which styles, and so on. WebAssembly changes none of those things.
- rad_gruchalski 6y agoI believe you mean “deny box”?
- TheDong 6y agoInterestingly, webassembly is also helping make an open-source flash player possible. Ruffle [0] is written in rust, compiles to webassembly, and already can play a reasonably sized subset of flash correctly at their intended speed. [0]: https://github.com/ruffle-rs/ruffle https://github.com/ruffle-rs/ruffle
- saagarjha 6y agoAnother than can run Flash, among other things: https://leaningtech.com/pages/cheerpx.html https://leaningtech.com/pages/cheerpx.html
- taf2 6y agoThis is awesome thank you for some reason last year my daughters school still needed a flash player for a typing program going to try this to see if works thanks!
- gpm 6y agoWebasm doesn't help much with drm since you can reverse engineer it just like any code. It doesn't have any privileged access to allow tricks like using a key stored in hardware (and other drm does). It does allow blackbox libraries. So does compiling to JavaScript though. Really it just means that the black box binaries are (even) faster than the white box scripts.