{"id":1455,"kind":"story","title":"rust-anything, an open-source tool that rewrites apps in Rust and verifies with recordings that they behave exactly like the original","url":"https://github.com/erkamyaman/rust-anything","host":"github.com","by":"startupxo","score":0,"comments":0,"time":"2026-11-24T12:30:44.774Z","origin":"curated","language":{"source":"ko","reading":"en","translated":true},"summary":["It first records what results or errors the original app produces for various inputs, then checks Rust code written by a coding agent or a person, piece by piece, against those recordings. It is not a tool that automatically translates code.","It targets Node.js, Python, C, Go, Ruby, Java and Kotlin apps. You can replace just one slow part with Rust or move the whole app to a Rust program. It was created by the developer erkamyaman.","According to the developer's own measurements (Apple M4), the Rust port of the code formatter Prettier cut the time to process 2,360 JS/TS files from 128.6 seconds to 6.9 seconds. The results of 17,224 recorded runs matched the original byte for byte, and the original Prettier handles the parts that have not been ported yet.","It can only catch cases that are in the recordings. Because the original code is run many times during recording and comparison, it advises running apps that write files, use a database or make network calls on a copy and a test database."],"discussion":"https://startupxo.com/en/1455/","markdown":"https://startupxo.com/en/1455.md","api":"https://startupxo.com/api/v1/item.json?id=1455&lang=en","text":null,"edited":null,"sources":[{"site":"github","name":"GitHub","url":"https://github.com/erkamyaman/rust-anything","score":9031,"comments":null,"observed_at":"2026-11-24T12:29:23Z"}],"thread":[]}