amethyst / amethyst/web_worker

Reduce use of postmessage

未關閉
#2 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
19
分支
8
PR 合併指標
30 天內沒有已合併 PR

描述

* 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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。