Idea · Jul 30, 2026

WASM Performance Lab

A web-based assignment platform where students implement the same algorithm in JavaScript and Rust, compile Rust to WebAssembly in a sandboxed server, and see live benchmark comparisons across execution time, memory, and binary size.

What it would do

WebAssembly is a first-class web technology in 2026, yet few undergraduate courses give students hands-on experience with its performance tradeoffs. WASM Performance Lab is an assignment scaffold and evaluation platform: students open a split-pane editor with JavaScript on the left and Rust on the right, implement an assigned algorithm (sorting, image convolution, prime sieve), and click Benchmark. The server compiles the Rust code via a containerized Wasmtime pipeline, returns a WASM binary, and runs both implementations under a micro-benchmark harness in the browser. A visual report displays execution time with confidence intervals, memory usage, and binary size side by side. Students iterate on optimizations (SIMD hints, zero-copy buffers, avoiding allocations) and submit a reflection alongside their best benchmark run. Instructors see all student results on an aggregated leaderboard with optional anonymization.

Key features

  • Split Monaco editor: JavaScript on the left, Rust on the right with syntax highlighting and error squiggles
  • Server-side Rust-to-WASM compilation in a sandboxed Docker container (Wasmtime)
  • In-browser micro-benchmark harness with 50-run statistics and confidence interval visualization
  • Visual comparison report: execution time, memory (performance.measureUserAgentSpecificMemory), binary size
  • Instructor leaderboard and submission portal with anonymization toggle and CSV export
  • Starter assignment templates for sorting, image convolution, and numeric computation

More in Systems & Hardware

Network Protocol Animator

An interactive web platform that animates TCP handshake, HTTP/1.1 vs. HTTP/2, UDP, and DNS resolution as step-by-step packet flows, with instructor controls to pause, rewind, and inject faults like packet loss or reordering.

Systems & HardwareTeaching toolLargeAug 17, 2026

Packet Story

A browser extension that captures every HTTP request your tab makes and generates a readable detective-story narration of what your browser fetched, why, and what it reveals about real-world web architecture. Perfect for networking and web-dev courses.

Systems & HardwareTeaching toolMediumAug 9, 2026

CRDT Clash

Students implement a conflict-free replicated data type from scratch, then submit it to a tournament server that stress-tests it with concurrent edits and simulated network partitions, competing on convergence correctness and merge quality.

Systems & HardwareClass assignmentLargeJul 27, 2026

WebGPU Shader Studio

Students build a browser-native WGSL compute shader playground with animated thread-group visualization, CPU vs. GPU benchmarks, and an AI coach explaining each pipeline stage — culminating in a shared gallery of parallel algorithm implementations.

Systems & HardwareClass assignmentLargeJun 28, 2026

All 39 ideas in Systems & Hardware →