Ruff author shares build-speed trick: one crate per file for faster compiles

charliermarsh · x · 2026-10-06

Charlie Marsh, author of the Ruff Python linter, shares his build-efficiency practice: giving each source file its own crate to maximize incremental build performance. Fine-grained crate splitting minimizes recompilation on changes—a technique used in large Rust projects like Ruff and Uv.

Original post →

More from coding & agent

coding & agent channel →