News for hackers. Stuff that matters.
Re:WebAssembly from Scratch: From FizzBuzz to DooM by franz899 on Wednesday July 14, 2021 @08:23AM (#27832251)
WebAssembly's purpose was never to replace JavaScript but only to speed up certain parts of a website/app.
Re:WebAssembly from Scratch: From FizzBuzz to DooM by pjmlp on Wednesday July 14, 2021 @08:50AM (#27832446)
That was the original message used to sell WebAssembly, however when the real goal is to replace ActiveX, Flash, Silverlight and PNaCL it was obvious that it would grew beyond that.
Re:WebAssembly from Scratch: From FizzBuzz to DooM by cubano on Wednesday July 14, 2021 @07:28PM (#27839734)
really? i thought it's purpose was to take us back to the good old days of sellable proprietary binary blobs instead of the more open HTML/JS/CSS stack.
Re:WebAssembly from Scratch: From FizzBuzz to DooM by recursivedoubts on Wednesday July 14, 2021 @08:38AM (#27832369)
that's not how I remember it:

https://brendaneich.com/2015/06/from-asm-js-to-webassembly/

edit: from the linked article, in case it isn't clear, an HN comment by eich:

"Sure, in userland many languages compile to assembly. Hmm, where have I heard that word lately?"[1]

[1] - https://news.ycombinator.com/item?id=9554914