I’ll keep this as short as I can so
subhuman vermin redditors can comprehend it. WebAssembly doesn’t solve the problems you think it solves. WebAssembly won’t magically improve the web. WebAssembly won’t eliminate the pathologies of modern web design, and in fact it’s likely to exacerbate them.
Here’s what WebAssembly does:
Here’s some realities to keep in mind before you post your next retarded comment on /r/programming to farm karma from your echo chamber with a collective IQ just shy of room temperature:
If you haven’t been living under a rock the past 30 years, you might notice this is the same trade-off Perl, Python, Ruby, and other dynamic language darlings have offered you, and while there’s many people who think the performance loss is unacceptable, to say you don’t understand why people prefer them to C is arguing in bad faith. Of course people are going to prefer a language such as Python, which when well written can read like English prose, to systems programming languages.
This is acceptable when porting Skyrim so that it can run in
NSA Botnet Google Chrome, not so much when you’re trying to load your blog comments asynchronously.
Your first problem is that the DOM implementation and arguably design are both terrible. WebAssembly does nothing to fix that; you’d have to rewrite the entire web platform from the ground up to see improvements here, and ironically your gains would evaporate overnight. And that’s because…
Your second, and most important problem, is that web developers are garbage, and this has nothing to do with the APIs or the language. The current web ecosystem involves several layers of interconnected abstractions, duplications of duplicated functionality, megabytes of dead code, pictures of Guy Fieri, and an almost intentional obfuscation of real functionality. Sure, you could make the language or the APIs faster, but nothing would be fast through the layers of indirection the modern web framework mess has introduced. If anything, any performance improvements would allow developers to be even sloppier, like for example by including a full copy of John Wick with AngularJS. Client-side, of course.
If you haven’t been living under a rock the past 60 years, you might notice this is a problem software development has had forever, and there are more megaprojects out there with useless and incomprehensible dependency circles, code that’s impossible to parse, and crippling overhead than there are
scum redditors. I mean, have you looked at AAA video games lately? It’s impossible to create a performant anything when every keystroke, every scroll event, every mouse flicker calls thousands of lines of code because some webshit couldn’t read the CSS animation tutorial on MDN and instead included 4 different keyframe libraries using 3 different module bundlers plus analytics.
I hate all of you. I’m sure you’ve noticed by now. I unironically, whole-heartedly believe webshits and their rusted webassembled antagonists deserve death. Kill yourselves. You are the reason why modern software is such unadulterated garbage, why for every advancement in compiler research and computer hardware there has to be a framework and a paradigm with more layers of indirection that somehow undoes all progress and then some in the name of some autistic standard of artisanal elegance, when really all we want to do is parse some text and display our waifus doing lewd things with their butts on a dot matrix; why every time we have something good, just around the time it finally works well enough, we have to rewrite it from scratch, and for some magical reason the rewrite is worse in every conceivable way.
WebAssembly won’t fix anything because the only thing that can fix any of this is a superintelligent God AI going full Yezhovshchina on the entire software industry, but I guess until then at least we’ll be able to play shitty, soulless console ported sequels of raped nostalgic franchises on
East Germany Mozilla Firefox so long as we have invested enough in overpriced nVidia hardware to buy a house. Holy shit, fuck computers. I wish we lived in a world where all we needed to read and write about our waifus doing lewd things with their butts were analogue typewriters.