MCPcopy Index your code
hub / github.com/danbugs/serverside-wasm-book-code

github.com/danbugs/serverside-wasm-book-code @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
164 symbols 329 edges 39 files 21 documented · 13%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Server-side WebAssembly: Lightweight Apps with Wasm

This is a repository to store the code used in my upcoming book: "Server-side WebAssembly: Lightweight Apps with Wasm".

The book is still under development, so this repository will be updated as I progress through the book.

Book Sections

  • [x] Chapter 1 (Introduction to Wasm on the Server)
  • Part 1: WebAssembly for architects
    • [x] Chapter 2 (Building Server-Side Applications with Wasm Modules)
    • [x] Chapter 3 (Enhancing Portability and Security with Wasm Components)
    • [x] Chapter 4 (Interfacing Wasm with the Underlying System)
    • [x] Chapter 5 (Applications of Wasm from machine learning to databases)
  • Part 2: WebAssembly for developers
    • [x] Chapter 6 (Creating Production-Grade Wasm Applications)
    • [x] Chapter 7 (Distributing and deploying Wasm)
    • [x] Chapter 8 (Scalability for Wasm with Kubernetes)
    • [x] Chapter 9 (Future of Wasm on the Server)
  • Appendices
    • [x] Appendix A (Citations)
    • [x] Appendix B (Required tools)
    • [x] Appendix C (Deploying the SmartCMS to Azure Kubernetes Service)

Extension points exported contracts — how you extend this code

WasmResource (Interface)
(no doc) [4 implementers]
chapter05/smart_cms/smartcms_ml_guest/src/bindings.rs
WasmResource (Interface)
(no doc) [4 implementers]
chapter05/wasi_nn_example/src/bindings.rs
Guest (Interface)
(no doc) [1 implementers]
chapter04/wasi02/wasi02_lib/src/bindings.rs
Guest (Interface)
(no doc) [1 implementers]
chapter04/smart_cms/smartcms_ml_guest/src/bindings.rs
Guest (Interface)
(no doc) [1 implementers]
chapter04/composability/composability_lib/src/bindings.rs
Guest (Interface)
(no doc) [1 implementers]
chapter05/smart_cms/smartcms_ml_guest/src/bindings.rs

Core symbols most depended-on inside this repo

wit_import
called by 12
chapter05/smart_cms/smartcms_ml_guest/src/bindings.rs
wit_import
called by 12
chapter05/wasi_nn_example/src/bindings.rs
handle
called by 9
chapter05/smart_cms/smartcms_ml_guest/src/bindings.rs
handle
called by 9
chapter05/wasi_nn_example/src/bindings.rs
dataView
called by 6
chapter03/smart_cms/smartcms_kvstore_guest/transpile/guest.js
invalid_enum_discriminant
called by 6
chapter05/smart_cms/smartcms_ml_guest/src/bindings.rs
invalid_enum_discriminant
called by 6
chapter05/wasi_nn_example/src/bindings.rs
get
called by 4
chapter04/smart_cms/smartcms_test_host/src/main.rs

Shape

Function 69
Method 50
Class 30
Enum 8
Interface 6
Route 1

Languages

Rust90%
TypeScript9%
Python1%

Modules by API surface

chapter05/smart_cms/smartcms_ml_guest/src/bindings.rs39 symbols
chapter05/wasi_nn_example/src/bindings.rs33 symbols
chapter03/smart_cms/smartcms_kvstore_guest/transpile/guest.js8 symbols
chapter05/smart_cms/smartcms_test_host/src/main.rs7 symbols
chapter04/wasi02/wasi02_lib/src/bindings.rs7 symbols
chapter04/smart_cms/smartcms_test_host/src/main.rs7 symbols
chapter04/smart_cms/smartcms_ml_guest/src/bindings.rs7 symbols
chapter04/composability/composability_lib/src/bindings.rs7 symbols
chapter04/composability/composability_bin/src/bindings.rs5 symbols
chapter03/smart_cms/smartcms_test_host/src/main.rs5 symbols
chapter05/smart_cms/smartcms_ml_guest/src/lib.rs4 symbols
chapter04/hello_world_wasi/hello_world_wasi_host/src/main.rs4 symbols

For agents

$ claude mcp add serverside-wasm-book-code \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact