4 ms·
Just a point for the first chapters: you are not required to run your own local server (even if things push in that direction) You can include the wasm as an A
by sharikone 5y ago
Just a point for the first chapters: you are not required to run your own local server (even if things push in that direction)
You can include the wasm as an ArrayBuffer or as a base64 encoded string and hardcode it in the javascript. Now it will run even in a static html.
- deleted 5y ago[deleted]
- jjice 5y agoIt's incredible how far the web has come. I remember the first time I saw a browser GameBoy emulator and I was amazed. Maybe I should port my GB emulator to WASM...
- sigg3 5y ago> It's incredible how far the web has come. I agree and disagree. It seems like no one is questioning why we need to use legacy web browsers in between all the code we're executing locally. It's like a new iteration of old tech like lisp machines, which started out as specific purpose only to grow into complete environments (afaik). In this regard, we haven't come far, it's just the syntax that has changed.
- lisper 5y agoIn the case of WASM, even the syntax hasn't changed, it has just come full-circle back to S-expressions.
- paulgb 5y agoFor one thing, I’m unlikely to download a native copy of Doom to run on my own machine from a strange website. The ability to run cross-platform code that uses my GPU in a secure sandbox is pretty neat to me.
- anthk 5y agoprboom-plus is open source, FFS. Also, you have FreeDoom.