1. 1. Hello
    ❱
    1. 1.1. Why Rust
    2. 1.2. Why Wasm
    3. 1.3. Why Solana
  2. 2. Rust
    ❱
    1. 2.1. R5 - Entry
      ❱
      1. 2.1.1. Setup
      2. 2.1.2. Enjoy Day 1
      3. 2.1.3. Enjoy Day 2
      4. 2.1.4. Enjoy Day 3
      5. 2.1.5. Enjoy Day 4
      6. 2.1.6. Enjoy Day 5
      7. 2.1.7. Enjoy Day 6
      8. 2.1.8. Enjoy Day 7
      9. 2.1.9. Teardown
    2. 2.2. R4 - Basic
      ❱
      1. 2.2.1. Parse json with serde
      2. 2.2.2. Fetch json with reqwest
      3. 2.2.3. Fetch multiple with futures
      4. 2.2.4. Fetch multiple with tokio
      5. 2.2.5. Handle multiple result and option
      6. 2.2.6. Build a fetch module
    3. 2.3. R3 - Advanced
      ❱
      1. 2.3.1. Lifetimes
      2. 2.3.2. Create your own lib
      3. 2.3.3. ref
      4. 2.3.4. Deref coercions
      5. 2.3.5. RefCell
      6. 2.3.6. Trait
      7. 2.3.7. Serde
      8. 2.3.8. Enum
      9. 2.3.9. Derive More
      10. 2.3.10. Typed Builder
      11. 2.3.11. Generic array
      12. 2.3.12. AsRef
    4. 2.4. R2 - Expert
      ❱
      1. 2.4.1. Hello Actix CloudRun
      2. 2.4.2. Hello Diffusers Stable Diffusion
    5. 2.5. R1 - Master
      ❱
      1. 2.5.1. String
      2. 2.5.2. Marker Types
  3. 3. Wasm
    ❱
    1. 3.1. Setup
    2. 3.2. Enjoy
    3. 3.3. Hello Wasm Js
    4. 3.4. React Wasm fetch with reqwest
    5. 3.5. Hello Wasm Sleep and Time
    6. 3.6. Hello Wasm NPM
    7. 3.7. Hello Wasm Firebase
    8. 3.8. Hello Wasm Cloudflare
    9. 3.9. Hello Wasm Fastly
    10. 3.10. Serialize Js data
  4. 4. Solana
    ❱
    1. 4.1. Hello Solana
    2. 4.2. Fetch balance
    3. 4.3. NFT Memberships
  5. 5. ML
    ❱
    1. 5.1. LLaMA-rs
  6. 6. Bye

Gist of Rust

Why Wasm

Reasons

  • Adobe: Wasm has real potential. We can integrate WebAssembly directly into our existing infrastructure.
  • AWS: Prime Video - The switch to WebAssembly increases stability, speed.
  • BBC: WebAssembly is certainly ready to use in production
  • Bytecode Alliance: Production Ready
  • Disney+: We chose Rust, targeting WebAssembly (WASM), for ease of web deployment and app updatability.
  • Fastly: How Fastly and the developer community are investing in the WebAssembly ecosystem.
  • IBM: Why using WebAssembly and Rust together improves Node.js performance
  • Midokura (Sony Group): We believe that Wasm will play a key role in #IoT development.
  • TensorFlow: WASM can be natively decoded up to 20x faster than JavaScript can be parsed.
  • Vercel: WebAssembly 2-3 times faster than Javascript.

Landscape

  • bindgen
  • SIMD
  • WASI

Use cases

https://coggle.it/diagram/YgSRKkMks4i53-Ps/t/webassembly-icon-wasm-webassembly

Resources

  • awesome-wasm
  • Rust and WebAssembly
  • The wasm-bindgen Guide

Wasm ➠