{"name":"fast-anything: Port Hot Functions to Rust","description":"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","url":"https://osrepos.com/repo/el4cteo-fast-anything","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/el4cteo-fast-anything","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/el4cteo-fast-anything.md","json":"https://osrepos.com/repo/el4cteo-fast-anything.json","topics":["rust","cli","performance","coding-agent","profiling","differential-testing"],"keywords":["rust","cli","performance","coding-agent","profiling","differential-testing"],"stars":null,"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.","content":"## Overview\n\nfast-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.\n\nThe 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.\n\n## Key Features\n\n- Profiles supported applications and ranks functions by runtime and portability.\n- Records real function calls and generates a one-function Rust crate and task file for an agent.\n- Replays recorded and derived test cases against the Rust port, checking results and errors before activation.\n- Avoids enabling a port when its per-call overhead makes it slower than the original.\n- Enables or disables the Rust implementation through a marked code block, with an environment variable to run the original.\n- Benchmarks whole-app performance and generates a Markdown report with an SVG card.\n- Offers a Claude Code plugin, an MCP server, and an agent skill.\n\n## Use Cases\n\n- A Python developer with a CPU-heavy function can profile an application, port that function, and compare behavior before using the Rust implementation.\n- Teams maintaining Node.js, TypeScript, or Ruby applications can optimize a measured bottleneck without moving the rest of the codebase to Rust.\n- Developers working in Java, Go, PHP, C, C++, C#, Kotlin, or R can use the documented C bridge to call Rust ports.\n- Coding-agent users can delegate the porting task through Claude Code, Codex, another prompt-reading command, or the MCP tools.\n\n## Our Take\n\nfast-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.\n\n**Good fit if:**\n- You have a measured bottleneck in a supported language and it can be expressed as a deterministic function over plain data.\n- You want to use a coding agent for the port while checking it against recorded behavior before enabling it.\n- 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.\n\n**Look elsewhere if:**\n- Your performance work is mainly in application startup, I/O, or functions that do not meet the documented portability constraints.\n- You need a mature project with a longer operating history; the supplied health data classifies this repository as new and changing fast.\n- You cannot install or use a Rust toolchain to compile the ports.\n\n## Project Health\n\n| Signal | Value |\n|---|---|\n| Status | **New**: less than six months old and changing fast |\n| Last commit | 2026-11-23 (today) |\n| Commits, last 90 days | 80 |\n| Releases, last 12 months | 13 (latest v0.8.5, 2026-11-23) |\n| Contributors | 9 (top contributor: 49% of commits) |\n| Issues closed, last 90 days | 36 (typically closed in 0 days) |\n| Pull requests merged, last 90 days | 38 (typically merged in 0 days) |\n| Project age | 2 days |\n\nChecked on 2026-11-23 with the GitHub API.\n\n## Project Facts\n\n- Language: Rust\n- License: MIT\n- Stars: 3k\n- Forks: 194\n- Topics: agent-skills, ai-agents, claude-code, claude-code-plugin, codex, developer-tools, ffi, mcp\n- Website: https://www.npmjs.com/package/@el4cteo/fast-anything\n- Archived: no\n\n## What You Need\n\nDetected in the repository:\n\n- Rust 1.88 or newer (from Cargo.toml)\n- Automated checks on GitHub Actions\n\n## Getting Started\n\nInstall with npm or Cargo:\n\n```sh\nnpm i -g @el4cteo/fast-anything\n# or: cargo install fast-anything\n```\n\nThen 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.\n\n## License in Plain Words\n\n**MIT** (permissive).\n\n- Commercial use: yes\n- Modify and redistribute: yes\n- You must keep: the copyright and license notice\n- Share your changes: no\n\nA summary, not legal advice: the LICENSE file is what applies.\n\n## Considerations\n\n- 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.\n- 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.\n- Rust 1.88 or newer and the relevant application runtime are required. Ports are compiled with the Rust toolchain.\n- The supplied requirements data reports no tests, so teams should assess validation coverage alongside the tool’s recorded-call verification workflow.\n- The repository is MIT-licensed. Review the [license](https://github.com/EL4CTEO/fast-anything/blob/main/LICENSE) for obligations when using or distributing it.","metrics":{"detailViews":5,"githubClicks":1},"dates":{"published":null,"modified":"2026-11-23T19:45:25.000Z"}}