mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-15 05:51:23 +00:00
Update raytracing example browser support (#2083)
This commit is contained in:
committed by
GitHub
parent
ad85de50c6
commit
f7f47993f1
@ -6,15 +6,13 @@
|
|||||||
[code]: https://github.com/rustwasm/wasm-bindgen/tree/master/examples/raytrace-parallel
|
[code]: https://github.com/rustwasm/wasm-bindgen/tree/master/examples/raytrace-parallel
|
||||||
|
|
||||||
**This is an unstable and experimental example** of using threads with
|
**This is an unstable and experimental example** of using threads with
|
||||||
WebAssembly and Rust, culminating in a parallel raytracer demo. Current
|
WebAssembly and Rust, culminating in a parallel raytracer demo. The browser requirements are:
|
||||||
requirements for viewing this demo are:
|
|
||||||
|
|
||||||
* Firefox Nightly - other browsers haven't implemented the proposed WebAssembly
|
* Firefox Nightly
|
||||||
features yet.
|
- `SharedArrayBuffer` is enabled in `about:config` in Firefox
|
||||||
* `SharedArrayBuffer` is enabled in `about:config` in Firefox
|
* Google Chrome
|
||||||
|
- No flags required on recent versions of Chrome
|
||||||
This demo may also break over time as Firefox updates, but we'll try to keep it
|
* other browsers haven't implemented the proposed WebAssembly features yet.
|
||||||
working!
|
|
||||||
|
|
||||||
Locally to build this demo you'll need `xargo` and the `rust-src` rustup
|
Locally to build this demo you'll need `xargo` and the `rust-src` rustup
|
||||||
component, and afterwards `./build.sh` like other examples should build the
|
component, and afterwards `./build.sh` like other examples should build the
|
||||||
|
Reference in New Issue
Block a user