Dax Raad rebuilt his browser tool in Rust for $60. Then memory use fell 97%.
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Practical Rust migration story with measurable performance gains, actionable for developers optimizing tools.
Dax Raad rebuilt OpenCode Browse's browser automation tool in Rust for $60 using Claude Opus and DeepSeek, slashing the binary from 53-64 MB to 4.3 MB and cutting per-connector memory from ~190 MB to 5.6 MB—a 97% reduction. The rewrite replaces Playwright and Patchright with a WebSocket-based relay using Chrome DevTools Protocol and embedded QuickJS for JavaScript execution, though it drops time zone emulation and inherits a busy-loop eval issue. Raad now owns maintenance previously handled by those libraries, trading runtime efficiency for potential long-term technical debt.