What's stopping future web developers and site owners from redesigning their websites as WASM binary "clients" that connect to a server in order to render websites?
This would let them block unsavory actions, like saving images, right clicking, copy/paste, and they could embed ads in the "client" to thwart adblocking, and even run bitcoin miners in order to make money off of every single user visiting their site.
>what's stopping them? probably public backlash. as much of a corporate hellhole were in right now we still have the basic trappings of capitalism and such a stupid fucking move would never be tolerated by the general public, not even the tech illiterate ones.
Mason Cook
The public is already conditioned to expect websites to run slow as fuck, they won't care if visiting their favorite news site suddenly makes their computer spin up their fans to MAX SPEED, I've already seen this happen just by going to youtube.
Jack Roberts
if websites literally run bitcoin miners on your pc that would hit the news real quick and the companies would have to change real quick or risk shutting down. a while back a big cs pug service esea did this to people who downloaded their client and as soon as it hit public knowledge they lost tons of subs and had to restructure their entire management. >inb4 gaymfag
Hudson Martin
WASM will not have more power than current Javascript VMs do, so as much as I hate WASM, it doesn't make things any worse in that regard.
Brody Young
he already knew
Dominic Scott
did you just assume my gender?
Bentley Sanchez
What's stopping existing web developers from doing that with javascript?
Isaac Lee
You can see it in the source code because javascript isn't a compiled language.
WASM is a binary, you have plausible deniability I doubt computer illiterates will even know the implications of a website hijacking your computer's CPU to make the owner money.
John Jackson
Basically this. It's not like wasm code gets free reign over the browser. I don't get how people are thinking this is gonna make it possible to prevent downloading images and such.
>as much as I hate WASM What do you not like about it? From what I understand, it seems like an improvement over asmjs, which would allow for porting complex C/C++ libraries and whatnot for client-side use.
Robert Butler
>You can see it in the source code The "source code" for a work means the preferred form of the work for making modifications to it. Minified or obfuscated javascript is not source code.
Levi Kelly
It's actually not a "binary" it's like the intermediate language that LLVM uses before it compiles source code into a binary. It's I guess obfuscated but it actually might be more readable than minified javascript which is really common these days
Eli Anderson
>public backlash kek Not a fucking chance. So long as facebook still works they'll eat that shit up.
Charles Powell
>run bitcoin miners in order to make money off of every single user visiting their site >implying I'm not already doing that
If only my sites had more visitors, I'd be wealthy goy
Andrew Collins
>draw a girl >call it a boy Why
Charles Wilson
Have you ever looked at the typical javascript loaded by a website?
Ethan Kelly
Because it aims to replace Javascript, plaintext scripts that are by default easy to read, with binary blobs, that are by default extremely difficult to make sense of. And authors' response to this is "but the dev can choose to attach source code to his binary blob!"
Mason Lee
because
Isaac Jenkins
Here's JS code offered by Sup Forums with whitespace added (by an automatic tool):