{"version":1,"type":"story","url":"https://digestai.news/story/fast-anything-finds-slow-functions-to-rewrite-in-rust","json":"https://digestai.news/story/fast-anything-finds-slow-functions-to-rewrite-in-rust.json","markdown":"https://digestai.news/story/fast-anything-finds-slow-functions-to-rewrite-in-rust.md","slug":"fast-anything-finds-slow-functions-to-rewrite-in-rust","headline":"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.","keyPoints":["`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++."],"whyItMatters":"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.","category":{"slug":"marketing","name":"Marketing & Small Business","url":"https://digestai.news/category/marketing"},"entities":{"companies":["fast-anything"],"models":[],"people":[]},"firstPublishedAt":"2026-11-22T04:10:09Z","updatedAt":"2026-11-22T04:10:09Z","sourceCount":1,"hasPrimarySource":true,"sources":[{"outlet":"github.com","title":"Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow","url":"https://github.com/EL4CTEO/fast-anything","publishedAt":"2026-11-22T04:10:09Z","type":"primary","primary":true,"lead":true}],"sourceNotes":null,"discussions":[{"site":"Hacker News","url":"https://news.ycombinator.com/item?id=50596155","points":43}],"thread":null,"cite":{"text":"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","publisher":"Digest AI","title":"Fast-Anything finds slow functions to Rewrite in Rust","datePublished":"2026-11-22T04:10:09Z","url":"https://digestai.news/story/fast-anything-finds-slow-functions-to-rewrite-in-rust"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"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"}