Back to browse
GitHub Repository

A faster thefuck (https://github.com/nvbn/thefuck) implemented by Rust

29 starsRust

A faster fuck (thefuck CLI rewritten in Rust)

by ddyo·Feb 26, 2026·2 points·0 comments

AI Analysis

MidShip ItWizardry

2.7ms vs 151ms startup—pure speed optimization, Python thefuck already works.

Strengths
  • Legitimate 56x startup speedup (2.7ms Rust vs 151ms Python) with verified benchmarks
  • Identical rule set to original means drop-in replacement for existing users
  • Single-binary distribution removes dependency friction
Weaknesses
  • Speed gain solves no real problem—Python thefuck invocation happens once per typo, not in a loop
  • No new features, no architectural insight, just faster compilation of the same algorithm
Category
Similar To

thefuck (original) · fuck2 · navi

Post Description

thefuck (https://github.com/nvbn/thefuck) in Rust – because life's too short for slow fucks.

500ms → 15ms startup. Same rules, 50x faster. 2x faster correction time as well.

Similar Projects