# fast-anything: Port Hot Functions to Rust

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/el4cteo-fast-anything
Generated for open source discovery and AI-assisted research.

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.

GitHub: https://github.com/EL4CTEO/fast-anything
OSRepos URL: https://osrepos.com/repo/el4cteo-fast-anything

## Summary

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.

## Topics

- rust
- cli
- performance
- coding-agent
- profiling
- differential-testing

## Repository Information

Last analyzed by OSRepos: Mon Nov 23 2026 19:45:25 GMT+0000 (Western European Standard Time)
Detail views: 5
GitHub clicks: 1

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## 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.

## Our Take

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.

## Project Health

| Signal | Value |
|---|---|
| Status | **New**: less than six months old and changing fast |
| Last commit | 2026-11-23 (today) |
| Commits, last 90 days | 80 |
| Releases, last 12 months | 13 (latest v0.8.5, 2026-11-23) |
| Contributors | 9 (top contributor: 49% of commits) |
| Issues closed, last 90 days | 36 (typically closed in 0 days) |
| Pull requests merged, last 90 days | 38 (typically merged in 0 days) |
| Project age | 2 days |

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

## Project Facts

- Language: Rust
- License: MIT
- Stars: 3k
- Forks: 194
- Topics: agent-skills, ai-agents, claude-code, claude-code-plugin, codex, developer-tools, ffi, mcp
- Website: https://www.npmjs.com/package/@el4cteo/fast-anything
- Archived: no

## What You Need

Detected in the repository:

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

## Getting Started

Install with npm or Cargo:

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

Then try `fast-anything go --agent claude -- python app.py`. See the [README](https://github.com/EL4CTEO/fast-anything#readme) for supported runtimes, agent setup, and workflow details.

## License in Plain Words

**MIT** (permissive).

- 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.

## 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](https://github.com/EL4CTEO/fast-anything/blob/main/LICENSE) for obligations when using or distributing it.