fast-anything lets developers port slow Python, Node or Ruby functions to Rust with a single command
The open‑source tool profiles apps, creates one‑function Rust crates and swaps them in, achieving up to 116× speedups on real workloads.
fast-anything is a GitHub project that targets the 5 % of code that dominates runtime in Python, Node, Ruby and other languages.
It profiles the application, ranks functions by time and portability, records up to 500 real calls, and generates a one‑function Rust crate for each hot spot.
The generated crate is compiled with the user's Rust toolchain and verified against the recorded calls; only when all cases match does the tool enable the Rust version.
Benchmarks on an i5‑10500 show speedups such as 116× for a Python fuzzy‑dedupe of 700 names, 55× for a Go version, and 20× for a TypeScript implementation.
The tool works with Python 3.10+, Node 22+, Ruby 3.3+, Java 22+, Go 1.22+, PHP 8.1+, C/C++, and .NET 8+, using language‑specific bindings.
Ce que cela signifie pour vous
Developers can accelerate critical sections without rewriting entire applications, keeping the original codebase intact. For users of free or locally hosted models, faster preprocessing and inference pipelines lower hardware costs and improve responsiveness.
Sources
- EL4CTEO/fast-anything: Don't rewrite it in Rust. Rewrite the 5% that's slow: profile Python, Node or Ruby apps, port the hot functions with your coding agent, prove they behave the same., GitHub trending, 21 Nov 2026
Rédigé automatiquement à partir des sources ci‑dessus, puis vérifié par notre code : chaque nombre et chaque nom doivent y figurer, et aucune phrase ne doit copier une source. Une erreur ? Signalez‑la.
Quelle IA pouvez‑vous utiliser gratuitement aujourd’hui ?
Tous les modèles IA gratuits, classés par votes humains anonymes, avec la mémoire et la vitesse dont ils ont besoin sur votre propre GPU.