Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Support running servers on wasm #37

Open
johanhelsing opened this issue Aug 15, 2021 · 0 comments
Open

Support running servers on wasm #37

johanhelsing opened this issue Aug 15, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@johanhelsing
Copy link

Hi :)

I was looking at this project and https://github.com/ErnWong/dango-tribute and it seems like @ErnWong hacked together a version that lets the server be run in the browser (in its own iframe, I think).

I think most of it is in this commit: ErnWong/dango-tribute@f1f6942

Maybe it could be added as a feature flag instead of being #[cfg(not(target_arch = "wasm32"))]?

The reasons I'm interested in this are:

  1. Reduce latency if the host is close to the other players, for instance if they're on the same local network.
  2. Lower cost, I just have to host a signaling/matchmaking server. At least as long as I'm not worried about cheating.
@smokku smokku added the enhancement New feature or request label Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants