Comment by naikrovek
7 hours ago
How is it that this came to my Apple-Silicon Mac before Valve could do it natively? How could it possibly be easier to create a complete-enough virtual machine that runs in a browser and the compiler for it than it is to port the native application?
I wish we could spend as much time on native application development as we do on horribly crippled and slow browser application development.
Web technology is so non-sensical to me. "you can run an application without installing it!" Well, friend, installation is not required either, and we can deliver applications on demand, and we've done it before. "You just visit a page and you can program the macros on your keyboard!" Again, it's not like those applications are large; they could be delivered on demand if we wanted.
But we don't want that, do we? We want people to remain online under any circumstance, we desparately want their time, so we require that people be online if they want to program their microcontroller and they don't know how to do it without visiting the very convenient webpage.
If people spent 10% of the effort on native applications that they spent on web applications, we would be so much further advanced than we are now. If you're a developer, targeting the web is so seductive, so easy in comparison, that we all have to be online to do anything, now. We all have to run two dozen Electron apps because developers want to have an easy time at the expense of every user.
That's a somewhat reaching use of the word "natively".
It's being run through the equivalent of a virtual machine. So it's really quite similar to the layers used to abstract away platform specifics like Wine / Proton does for Windows compatibility. Instead of DXVK you have WebGL.
So this port isn't a straight WASM port, you're saying they're running the Windows binary and translating the DirectX8 graphic commands over to WebGL..? Am I understanding correctly?
> How is it that this came to my Apple-Silicon Mac before Valve could do it natively?
Why should Valve update their old games to work on Apple Silicon? They're old and only 2% of Steam users (clients?) are on macOS.
Also, this port works offline in your browser. If you've loaded it up before the assets are cached and you can play with no internet. Yes, even if you've closed the tab and open it again later without internet.
> I wish we could spend as much time on native application development as we do on horribly crippled and slow browser application development.
But native to what?
Windows is no longer the commonality between all users.
The browser has that role, now.
> We want people to remain online under any circumstance
Webapps often have offline-first functionality,
which is one of the biggest strengths of a progressive web app.
browsers aren't common either. Standards, formats, and interfaces are, which is exactly what WASM is and what this demonstrates. Native apps don't need a common operating system or even a common core like nix. They just need to support a common interface, like browsers do.