# Fast-Anything finds slow functions to Rewrite in Rust

Digest AI · Marketing & Small Business · published 2026-11-22T04:10:09Z

Canonical: https://digestai.news/story/fast-anything-finds-slow-functions-to-rewrite-in-rust

## Summary

The tool `fast-anything` identifies parts of a program that are running slowly and rewrites only those, not the whole application. It uses an AI model to determine which functions should be rewritten into Rust for better performance. The tool is designed to work with various programming languages like Python, Node.js, Ruby, Java, Go, C#, PHP, C, and C++. `fast-anything` can be installed via npm or cargo and used through command-line interfaces. It also includes a CLI agent that allows users to interact with the tool by providing prompts on stdin. The tool has been tested on an i5-10500 running Windows 11 and shows improvements in performance for real-world calls, including edge cases and shrinked inputs.

## Key points

- `fast-anything` identifies slow functions within a program to rewrite into Rust.
- The tool uses AI to determine which parts of the code should be rewritten.
- It works with multiple programming languages such as Python, Node.js, Ruby, Java, Go, C#, PHP, C, and C++.

## Why it matters

This tool can significantly improve the performance of applications by rewriting only the necessary parts in Rust, a language known for its speed. It could be particularly useful for developers who need to optimize their applications without rewriting everything.

## Sources

1. [Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow](https://github.com/EL4CTEO/fast-anything) (github.com, 2026-11-22, primary source)

## Cite

Digest AI, "Fast-Anything finds slow functions to Rewrite in Rust", 22 November 2026, https://digestai.news/story/fast-anything-finds-slow-functions-to-rewrite-in-rust

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/fast-anything-finds-slow-functions-to-rewrite-in-rust.json
