amethyst / amethyst/web_worker

Reduce use of postmessage

Ouverte
#2 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
19
Forks
8
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

* Wasm has the atomic wait and atomic notify functions, it should be possible for the workers to wait until woken up to reduce the use of `postmessage` calls.
* Could it also be made possible to have `wasm-bindgen` as an optional dependency?
We are working on a web [game](https://github.com/squirrel-labs/ratatosk/) and consider using anmethyst or rather SPECS as our ECS.
* Is the run_notify used in any way by rayon, or could this be omitted for simplicity?

I'll try to fork this when I get around to implementing our thread pool

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.