Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Multiplayer needs a server backend

Did you mean single player? Although perhaps I'm just old and thinking about this in a strange way.

And can I clarify.. your scrabble app is web based already right? connecting to a rust web server for the game logic? And you want to embed that server by compiling to wasm? I probably should go read up on how this works.



Not the OP, but most web-based multiplayer games use a server backend to communicate between the multiple players.

> connecting to a rust web server for the game logic? And you want to embed that server by compiling to wasm?

I would assume so, and it being in WASM means they can use the exact same binary code on the server and in the webbrowser.

You could of course do the same thing by writing in Javascript (running in Node on the server or in the browser) but then you are in JS instead of Rust.


Thank you, that clears it up for me. Tech has changed a lot since I was exposed to web programming.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: