32KB
of Rust
WASM
in the browser
Two side projects that exist because Rust is the language I reach for when I want the compiler to catch me. Speedemon is a parallel file downloader. Bust the Ghost is a probabilistic grid game compiled to WebAssembly.
Rate-limited servers throttle per connection, not per file, so a single-threaded download leaves bandwidth unused. Separately, I wanted to see how a Bayesian search felt to play rather than to read about.
Ranged requests across a configurable thread count, so a server that throttles one connection still hands over the whole file at speed. `--threads`, `--retries`, and `--timeout` are all flags because the right values depend entirely on which server is being stubborn.
A grid hides a ghost. Every probe returns a color that is a noisy function of distance, and the board updates a posterior over every cell using the conditional probabilities behind that color. Written in Rust on Leptos and compiled to WASM, so the whole inference loop runs in the browser.
Role
Creator
Year
2024
Stack
3 technologies
See more work
Back to all projects