EL4CTEO

fast-anything: Port Hot Functions to Rust

fast-anything uses Rust to replace slow functions in Python, Node, Ruby and other apps without rewriting the whole application. It profiles, records real calls, checks that a port matches the original, and lets you switch it in or out.

Stars
3k
Forks
194
Last commit
today
Contributors
9
Releases, 12 months
13

Our take

Newless than six months old and changing fast

Health score

71/100

How it is scored
Activity
67
Community
52
Issues
92
Pull requests
71
  • Closes issues faster than 81% of the projects we track

fast-anything offers a focused, reversible path from profiling to verified Rust ports, but it is a very new project whose portability rules make it best suited to specific hot functions.

Good fit if

  • You have a measured bottleneck in a supported language and it can be expressed as a deterministic function over plain data.
  • You want to use a coding agent for the port while checking it against recorded behavior before enabling it.
  • Your team can work with Rust 1.88 or newer and values the MIT-licensed project’s active development; it has recent commits and releases, with contributions from multiple people and no contributor concentration flagged in the supplied health data.

Look elsewhere if

  • Your performance work is mainly in application startup, I/O, or functions that do not meet the documented portability constraints.
  • You need a mature project with a longer operating history; the supplied health data classifies this repository as new and changing fast.
  • You cannot install or use a Rust toolchain to compile the ports.
All health signals
Last commit2026-11-23 (today)
Commits, last 90 days80
Releases, last 12 months13 (latest v0.8.5, 2026-11-23)
Contributors9 (top contributor: 49% of commits)
Issues closed, last 90 days36 (typically closed in 0 days)
Pull requests merged, last 90 days38 (typically merged in 0 days)
Project age2 days

Checked on 2026-11-23 with the GitHub API.

Project history

Daily GitHub snapshots since Nov 24, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

3,218

Forks

213

More snapshots will appear as the daily collection continues.

Overview

fast-anything is a Rust-based CLI for speeding up applications by porting only their slow functions, rather than rewriting the whole app. It profiles Python, Node.js, Ruby, Java, Kotlin, Go, PHP, C, C++, C#, and R programs, then helps a coding agent create a Rust port and checks it against recorded calls before enabling it.

The tool is aimed at developers who have identified a performance bottleneck and want to keep their existing application language and code. Its verification and reversible enable/disable steps make targeted optimization less of an all-or-nothing migration, though the functions it can port must meet specific constraints.

Key Features

  • Profiles supported applications and ranks functions by runtime and portability.
  • Records real function calls and generates a one-function Rust crate and task file for an agent.
  • Replays recorded and derived test cases against the Rust port, checking results and errors before activation.
  • Avoids enabling a port when its per-call overhead makes it slower than the original.
  • Enables or disables the Rust implementation through a marked code block, with an environment variable to run the original.
  • Benchmarks whole-app performance and generates a Markdown report with an SVG card.
  • Offers a Claude Code plugin, an MCP server, and an agent skill.

Use Cases

  • A Python developer with a CPU-heavy function can profile an application, port that function, and compare behavior before using the Rust implementation.
  • Teams maintaining Node.js, TypeScript, or Ruby applications can optimize a measured bottleneck without moving the rest of the codebase to Rust.
  • Developers working in Java, Go, PHP, C, C++, C#, Kotlin, or R can use the documented C bridge to call Rust ports.
  • Coding-agent users can delegate the porting task through Claude Code, Codex, another prompt-reading command, or the MCP tools.

What you need

Detected in the repository

  • Rust 1.88 or newer (from Cargo.toml)
  • Automated checks on GitHub Actions

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Install with npm or Cargo:

npm i -g @el4cteo/fast-anything
# or: cargo install fast-anything

Then try fast-anything go --agent claude -- python app.py. See the README for supported runtimes, agent setup, and workflow details.

Considerations

  • The project is only a few days old in the supplied health data, despite frequent recent commits and releases. Its behavior and supported language integrations may still change quickly.
  • Porting is limited to top-level, deterministic functions that take plain data. The README documents language-specific constraints and notes that scan reports why a function cannot be moved.
  • Rust 1.88 or newer and the relevant application runtime are required. Ports are compiled with the Rust toolchain.
  • The supplied requirements data reports no tests, so teams should assess validation coverage alongside the tool’s recorded-call verification workflow.
  • The repository is MIT-licensed. Review the license for obligations when using or distributing it.

Found this useful?

Share it with someone who would like fast-anything.