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. Fetch and handle with thiserror
      7. 2.2.7. 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
      13. 2.3.13. Callback
      14. 2.3.14. Async
      15. 2.3.15. Iterators
      16. 2.3.16. Associated Type Bounds
      17. 2.3.17. BoxStream
      18. 2.3.18. IndexMap
    4. 2.4. R2 - Expert
      ❱
      1. 2.4.1. Hello Github Action
      2. 2.4.2. Hello Actix CloudRun
      3. 2.4.3. Hello Diffusers Stable Diffusion
      4. 2.4.4. Hello Cloudflare Github
    5. 2.5. R1 - Master
      ❱
      1. 2.5.1. String
      2. 2.5.2. Marker Types
      3. 2.5.3. Mutex
      4. 2.5.4. Smol
      5. 2.5.5. Signals
  3. 3. Wasm
    ❱
    1. 3.1. Setup
    2. 3.2. Enjoy
    3. 3.3. Hello Wasm Js
    4. 3.4. Serialize Js data
    5. 3.5. React Wasm fetch with reqwest
    6. 3.6. Hello Wasm Sleep and Time
    7. 3.7. Hello Wasm NPM
    8. 3.8. Hello Wasm Firebase
    9. 3.9. Hello Wasm Cloudflare
    10. 3.10. Hello Wasm Fastly
    11. 3.11. Fastly Forward Request
  4. 4. Solana
    ❱
    1. 4.1. Hello Solana
    2. 4.2. Fetch balance
    3. 4.3. NFT Memberships
  5. 5. ML
    ❱
    1. 5.1. Large Language Model
    2. 5.2. Inferences
      ❱
      1. 5.2.1. ollama
      2. 5.2.2. TabbyML
      3. 5.2.3. WasmEdge
      4. 5.2.4. Hugging Face - Text Generation Inference
      5. 5.2.5. llama.cpp
    3. 5.3. RAG
      ❱
      1. 5.3.1. Vector Database - Qdrant
    4. 5.4. Embeddings
    5. 5.5. Fine Tuning
    6. 5.6. Frameworks
      ❱
      1. 5.6.1. Hugging Face - Candle
      2. 5.6.2. Hugging Face - AutoTrain
      3. 5.6.3. Apple - MLX
    7. 5.7. Stable Diffusion
    8. 5.8. Vision Language Model
    9. 5.9. FLUX.1
    10. 5.10. Voices
      ❱
      1. 5.10.1. Fish Speech
      2. 5.10.2. Dia
    11. 5.11. Agents
  6. 6. Bevy
    ❱
    1. 6.1. Physics with Rapier
  7. 7. BigQuery
    ❱
    1. 7.1. Inferences
    2. 7.2. Embeddings
    3. 7.3. Search
  8. 8. 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 ➠