book
book copied to clipboard
The Rust and WebAssembly Book
### Summary This change makes codes more idiomatic and succinct. I don't think this change reduces readability, but someone may think so. Discussion about readability is welcome.
**Where in the docs did you come across this?** https://rustwasm.github.io/docs/book/game-of-life/hello-world.html **Describe what about it does not make sense** The first code example has the `cfg_if` macro, but the latest code...
**Describe the bug** I'm trying to follow the tutorial. When I get to the first build command "wasm-pack build", the complier outputs a error and the project never builds. **To...
wasm-pack's optimizer fails because of the export of a mutable global: [INFO]: Optimizing wasm binaries with `wasm-opt`... [wasm-validator error in module] unexpected true: Exported global cannot be mutable, on global$0...
### Summary Add to the consistency in how the books reads. On most occasions the _American_ English spelling of _"neighbor"_ is used, however on the odd occasion the _Non-American_ English...
**Where in the docs did you come across this?** The inconsistency was found in __Chapter 4.4__ _"Implementing Life"_. **Describe what about it does not make sense** For most of the...
**Is your feature request related to a problem? Please describe.** I was frustrated with the performance monitoring infrastructure for WASM, and really enjoyed using the [`tracing` crate](https://crates.io/crates/tracing) for logging events...
**Is your feature request related to a problem? Please describe.** I just started learning wasm and rust and found the implementation of the game of life really helpful. But in...
all of the code examples have poor indentation and give poor hints at where to place the code. Thru trial and error I think i've figured it out, but it...
When going through the steps of the book on Dec 27th, the directory created by `cargo generate --git https://github.com/rustwasm/wasm-pack-template` includes the folder `tests` and the `web.rs` file inside it. Either...