Writing log71 posts294 tagslatest Nov 30, 2026
Fast-anything.
Latest posts
fast-anything: How Much Faster Does a Rails App Get When Its Slow Function Moves to Rust?
fast-anything profiles an app, has a coding agent port only the slowest pure function to Rust, replays calls recorded from real runs, and swaps the port in only when every result matches. I read its Ruby backend and measured it on the cascade-reveal logic of a public minesweeper game built with Rails. The Rust port was 2.6× faster per call, while rewriting the same logic over plain arrays and index arithmetic was 70× faster on its own, in pure Ruby.