by rewq4321 · 6y ago · 0 comments
This, along with WebAssembly (threads, SIMD, etc), are going to be a very big deal in the next few years. The obvious use case is AAA games running in your browser, but I think once we've got 80-90% of native speeds on the web, basically all of the "client-heavy" apps (video processing, game dev tools, etc.) are going to start migrating over too. Not really an interesting prediction at this stage, since it already started happening way back in asm days. IIRC photopea.com doesn't even use WASM at all, and it has excellent performance on all sorts of image manipulation/encoding/etc tasks. Still, I think there are exciting times ahead for those hacking on the web platform.
The thing about AAA games is that it is not just about the speed but also the memory requirements. Currently there is no way to load the many GB of memory required for many games in a browser.
Er, no? Why would an AAA game, which typically wants every ounce of performance and control it can get, ever jump onto a web platform and lose all of that? And in exchange get... nothing at all? And since modern consoles are the same architecture & ISAs as gaming PCs are, why would they want to figure out a WASM backend with lagging hardware support & high overhead when 100% of their users are x86-64 with the entirely same set of SIMD features? And do they just not run an anti-cheat or DRM system? Good luck with that sales pitch.
It's not like you'll ever be able to click a link and just start playing a AAA game locally in your browser, either, you need to pull several gigs of assets first. And go through a login/paywall unless we're only talking F2P games which are almost never AAA games.
This use case comes up a lot, but if (and that's a big if) it happens, AAA games will be the last thing to switch, not the first. More plausible first users would be things like CAD & 3D modelling applications, which need high performance but also don't have 80GB+ installs.
It already was. Flash gaming was huge (so was embedded Java gaming such as Runescape). It regressed rather heavily over the years, perhaps from mobile, perhaps from regressions in the web's tech stack even, or perhaps just from social changes. But unless it was web technology regressing, I don't see why WASM + WebGPU would suddenly bring it back, either.
Arguably it was. I’d say we still don’t have something that rivals every feature Flash provided.
These sorts of applications are already inching their way onto the web. Photo editors, video editors, 3D modelling software, game dev tools (like Godot and Play Canvas). We're just starting to move past the "toy" stage and into the "native apps which don't have a web plan need start worrying" stage, I think.
If you think this trend isn't going to continue to progressively heavier applications, including games, well... you're just wrong. You haven't been watching closely enough.
> Why would an AAA game, which typically wants every ounce of performance and control it can get, ever jump onto a web platform and lose all of that?
"Why would an AAA game, which typically wants every ounce of performance and control it can get, ever jump onto smartphones and lose all of that?"
Because they don't care about performance - they care about revenue. Performance is just a means to that end.
Call of Duty Mobile was one of the largest mobile game launches in history - more than a hundred million downloads in the first month. I'm not sure if anything has beaten it yet. They had to trade off performance, resolution, latency, bandwidth, screen real estate, and basically everything else. But the benefits were obvious: Increased accessibility and on-the-go playing being perhaps the main two.
The web offers a similar set of benefits. Arguably a super-set of those, since it encompasses mobiles too.
> And since modern consoles are the same architecture & ISAs as gaming PCs are, why would they want to figure out a WASM backend with lagging hardware support & high overhead when 100% of their users are x86-64 with the entirely same set of SIMD features?
Compilers. Even a 50% perf hit (or even more) is fine for now. The trade-offs are worth it.
> but also don't have 80GB+ installs
Asset streaming. It's the web. We stream 4GB HD movies now while we're watching them. Networks speeds are still exponentially improving. This is an engineering problem. You don't actually need the 80GB all at once - game dev tooling will adapt, or be replaced by web-first tooling which has done lazy-loading of assets from day 1.
> This use case comes up a lot, but if (and that's a big if)
All I'll say is that I'd be willing to be a lot of money that you're wrong. Really-big-budget browser games are going to land well within the next decade. Everything is basically already in place. We're already seeing web-first garage-made games like krunker.io with player counts larger than some AAA first person shooters.
Basically all mass-market consumer applications will end up as web applications. You might not like that (there are certainly down-sides), but you'd need to do a lot of explaining to explain away the very clear trends that we're seeing across the industry.
And AAA smartphone games are also non-existent anyway. AAA games are widely understood to be big budget, fancy graphics blockbusters. Those aren't on mobile today.
> Asset streaming. It's the web.
Hahahahaha this is a bad joke, right? A game's working set for a level is regularly >4GB. With reliable I/O games currently have 30-40 second load times and use asset streaming.
You can't just wave this away or pretend it's an engineering problem. You want AAA games, you pay the AAA disk sizes. And that's just not compatible with the web. Not today, not next year, and network trends here aren't that great, either. Even fiber would struggle, and next gen consoles are about to raise the requirements here well beyond even that.
And if networks are that robust, then why wouldn't we just all jump on game streaming instead and embrace the thin client life? There doesn't seem to be any room here for needing powerful local computing and needing world class internet quality?
> Basically all mass-market consumer applications will end up as web applications. You might not like that (there are certainly down-sides), but you'd need to do a lot of explaining to explain away the very clear trends that we're seeing across the industry.
Current trends are everything is a native mobile app. Apps are bigger than ever. There's no zero-sum game here as you're claiming anyway. Web isn't eating everything up.
New-ness doesn't matter. What matters is perf/features and audience. The web has traditionally been held back by the former.
> And AAA smartphone games are also non-existent anyway.
I'm talking about big-budget games that push the limits of the devices they run on, and there are lots of them on mobile.
> > Asset streaming. It's the web.
> Hahahahaha this is a bad joke, right?
It's not a bad joke. This sort of condescension does not help persuade people. In fact it probably hurts your case because it's what people do when they're scraping the bottom of their argument barrel.
> Even fiber would struggle
1 Gbit plans just launched one suburb over from me. They're getting speeds of 100 MB/s. That's a 4GB level download in 40 seconds - easily hidden by an intro video/cut-scene. But again, the studios will be happy to make some trade-offs here, so expect asset sizes to be smaller (akin to big smartphone).
> And if networks are that robust, then why wouldn't we just all jump on game streaming instead and embrace the thin client life?
Yep, agreed here. I was going to mention this at the end of my comment but it was getting too long. This definitely could be the "dark horse" which makes AAA web-platform gaming irrelevant. Although, from the consumer's point of view, they'll still end up accessing it from the web.