· javascript
Dax Raad rebuilt his browser tool in Rust for $60. Then memory use fell 97%.
OpenCode developer Dax Raad says he rebuilt the project's browser automation tool in Rust for $60, replacing the parts of Playwright and Patchright it actually used and dramatically reducing its memory footprint.
A 4.3 MB binary The figures he posted to X on Saturday are striking. The new Rust binary is just 4.3 MB, compared with 53 to 64 MB for the previous Node version.
Memory use for each OpenCode Browse connector also fell from roughly 190 MB to 5.6 MB after a few calls, a reduction of about 97%. The new Rust binary is just 4.3 MB, compared with 53 to 64 MB for the previous Node version. The relay that wires AI coding agents to the browser shows a similar gap, with Raad's comparison putting the Rust implementation at 6 MB idle, or 6.6 MB once it has served calls, against 353 MB for the old Node relay after six days of running.



