amethyst / amethyst/web_worker

Reduce use of postmessage

Đang mở
#2 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
19
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

* 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.