amethyst / amethyst/web_worker

Reduce use of postmessage

Abierto
#2 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
19
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

* 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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.