7.4 KiB
7.4 KiB
Summary
-
- Hello, World!
- Using
console.log - Small wasm files
- Without a Bundler
- Converting WebAssembly to JS
- Importing functions from JS
- Working with
char - js-sys: WebAssembly in WebAssembly
- web-sys: DOM hello world
- web-sys: Closures
- web-sys:
performance.now - web-sys: using
fetch - web-sys:
canvashello world - web-sys:
canvasJulia set - web-sys: WebAudio
- web-sys: WebGL
- web-sys: WebSockets
- web-sys: WebRTC DataChannel
- web-sys:
requestAnimationFrame - web-sys: A Simple Paint Program
- web-sys: WASM in Web Worker
- Parallel Raytracing
- web-sys: A TODO MVC App
-
- Deployment
- JS snippets
- Passing Rust Closures to JS
- Receiving JS Closures in Rust
Promises andFutures- Iterating over JS Values
- Arbitrary Data with Serde
- Accessing Properties of Untyped JS Values
- Working with Duck-Typed Interfaces
- Command Line Interface
- Optimizing for Size
- Supported Rust Targets
- Supported Browsers
- Support for Weak References
- Support for Reference Types
- Supported Types
#[wasm_bindgen]Attributes