rust-anything, an MIT-licensed command-line tool that moves a Node.js, Python, C, Go, Ruby or Java app to Rust one piece at a time and checks each piece against recordings of the originalrust-anything, Node.js·Python·C·Go·Ruby·Java 앱을 한 조각씩 Rust로 옮기며 조각마다 원래 코드의 기록과 맞춰 보는 MIT License 명령줄 도구
rust-anything is an MIT-licensed command-line tool that moves an app to Rust one piece at a time, recording what the original code returns or throws and letting a piece move on only when the Rust matches every recorded case; a coding agent or a person writes the Rust. It installs through cargo, npm or prebuilt binaries and needs Rust plus the original language’s runtime, such as Node 22.6+ for TypeScript or JDK 17+ for Java, and rust-anything setup adds its MCP server to the settings of the coding agents it finds, such as Claude Code, Cursor and Gemini CLI, after saving a copy of each file it changes. A pass means a match with the recorded cases, and timing, memory and side effects such as network calls are not compared.rust-anything은 앱을 한 조각씩 Rust로 옮기면서 원래 코드가 돌려준 값과 예외를 기록해 두고 Rust 조각마다 그 기록과 모두 맞아야 다음으로 넘어가게 하는 MIT License 명령줄 도구이고, Rust는 코딩 에이전트나 사람이 씁니다. cargo, npm, 릴리스 바이너리로 깔고 Rust와 원래 언어의 런타임(TypeScript는 Node 22.6 이상, Java는 JDK 17 이상 등)이 함께 있어야 하며, rust-anything setup은 찾아낸 Claude Code, Cursor, Gemini CLI 같은 코딩 에이전트의 설정 파일에 MCP 서버를 더하되 바꾸기 전 사본을 남깁니다. 통과는 기록된 사례와의 일치를 뜻하고 시간, 메모리, 네트워크 호출 같은 부수 효과는 비교하지 않습니다.
- Checked확인일
rust-anything is an MIT-licensed command-line tool that moves a Node.js (TypeScript or JavaScript), Python, C, Go, Ruby or Java app to Rust one piece at a time, recording what the original code does today and checking every rewritten piece against that recording before the next piece moves on. It does not translate code: a coding agent or a person writes the Rust, and PHP and C# are in preview, where whole apps can be recorded and replayed while porting units into Rust is the next step. At the November 18 check the newest version was v1.4.0, published that day, and the first, v1.0.0, came out on November 16.rust-anything은 Node.js(TypeScript·JavaScript), Python, C, Go, Ruby, Java로 된 앱을 한 조각씩 Rust로 옮기면서, 원래 코드가 지금 하는 일을 기록해 두고 Rust로 다시 쓴 조각마다 그 기록과 맞춰 본 뒤에야 다음 조각으로 넘어가게 하는 MIT License 명령줄 도구입니다. 코드를 번역하지는 않고 Rust는 코딩 에이전트나 사람이 쓰며, PHP와 C#은 미리보기라 앱 전체의 기록과 재생까지 되고 조각을 Rust로 옮기는 연결은 다음 단계입니다. 11월 18일 확인 때 최신 릴리스는 같은 날 나온 v1.4.0이고 첫 릴리스 v1.0.0은 11월 16일에 나왔습니다.
It installs with cargo install rust-anything from crates.io, with npm install -g rust-anything in JavaScript projects, or from prebuilt binaries for macOS, Linux and Windows attached to each version on the GitHub Releases page, and it needs Rust plus the runtime of the language being ported: record, diff and bench run the original in its own runtime, so TypeScript needs Node 22.6+, Python and C need Python 3.9+, Go needs 1.21+, Ruby needs 3+ and Java needs JDK 17+, with a C compiler as well for C. rust-anything setup adds its MCP server to the settings files of the coding agents it finds, such as Claude Code, Cursor and Gemini CLI (~/.claude.json, ~/.cursor/mcp.json, ~/.gemini/settings.json and others), and installs the workflow skill where an agent reads skills, saving a .rust-anything.bak copy beside any existing file before changing it, and setup --remove takes its entries out. The README says the tool runs locally and sends none of the code anywhere, while Cargo downloads crates as usual and whatever the agent sends to its model provider falls under that provider’s policy.설치는 crates.io의 cargo install rust-anything, JavaScript 프로젝트의 npm install -g rust-anything, 또는 GitHub 릴리스에 붙은 macOS, Linux, Windows용 바이너리로 하고, Rust와 옮길 언어의 런타임이 함께 있어야 합니다. record와 diff, bench는 원래 코드를 그 언어의 런타임에서 돌리므로 TypeScript는 Node 22.6 이상, Python과 C는 Python 3.9 이상, Go는 1.21 이상, Ruby는 3 이상, Java는 JDK 17 이상이 있어야 하고 C에는 C 컴파일러도 필요합니다. rust-anything setup은 찾아낸 Claude Code, Cursor, Gemini CLI 같은 코딩 에이전트의 설정 파일(~/.claude.json, ~/.cursor/mcp.json, ~/.gemini/settings.json 등)에 MCP 서버를 더하고 스킬을 읽는 에이전트에는 작업 스킬도 깔며, 있던 파일은 바꾸기 전에 옆에 .rust-anything.bak 사본을 남기고 setup --remove로 그 항목을 뺍니다. README는 도구가 그 컴퓨터에서 돌고 코드를 어디로도 보내지 않는다고 적었고, Cargo는 평소처럼 crate를 내려받으며 에이전트가 모델 회사에 보내는 내용은 그 회사 정책을 따릅니다.
The flow starts with profile, which finds the hot functions and their callers; bridge generates the Rust crate and the glue that keeps the original API; and record runs the original on generated edge cases and the user’s own inputs and saves what it returns or throws. Once the Rust is written in port.rs, diff replays every recorded case against it, and a piece is done only when gate passes fmt, clippy, tests, an unsafe audit and the behavior check.흐름은 profile이 시간이 걸리는 함수와 그 함수를 부르는 곳을 찾고, bridge가 원래 API를 그대로 두는 Rust crate와 연결 코드를 만들고, record가 원래 코드를 생성한 경계 사례와 사용자 입력으로 돌려 돌려준 값이나 던진 예외를 저장하는 차례입니다. port.rs에 Rust를 쓰고 나면 diff가 기록한 사례를 모두 다시 돌려 맞춰 보고, gate가 fmt, clippy, 테스트, unsafe 점검과 동작 일치까지 통과해야 그 조각이 끝납니다.

The speed figures in the README are the author’s own measurements on 4 cores. In the author’s test, the x18n sidebar search over 50,000 keys (TypeScript on Node) went from 10 ms to 0.5 ms per query, 20 times faster, the same search in the browser on wasm with one thread took 0.95 ms, and the README says every figure has a benchmark in the repository that first checks the results are identical.README에 실린 속도는 저자가 4코어에서 잰 값입니다. 저자가 잰 x18n 사이드바 검색(TypeScript·Node, 키 50,000개)은 질의당 10ms에서 0.5ms로 20배 빨라졌고, 같은 검색을 브라우저의 wasm 한 스레드로 돌렸을 때는 0.95ms였으며, 수치마다 결과가 원래와 같은지 먼저 확인하는 벤치마크를 저장소에 두었다고 README는 적었습니다.
In Claude Code the MCP server and the skill can also be added as a plugin, though the command-line tool still has to be on the PATH, and for a whole app, app record captures what the app does from the outside, each unit goes through the same loop and app lift finally removes the original. The README says ports and generated code in the user’s repository belong to the user.Claude Code에서는 MCP 서버와 스킬을 플러그인으로도 깔 수 있지만 이때도 명령줄 도구가 PATH에 있어야 하고, 앱 전체는 app record로 앱이 밖에서 하는 일을 기록한 뒤 조각마다 같은 고리를 거쳐 app lift로 원래 코드를 떼어 냅니다. README는 사용자 저장소에 생긴 포트와 생성 코드는 사용자의 것이라고 적었습니다.
A pass means the Rust matches every recorded case and nothing more. Timing, memory, concurrency under load and side effects such as network calls or databases are not compared, and a recording proves behavior on the machine that ran it. Kotlin and Swift are not supported yet, compiled apps such as an APK, a JAR or an .exe cannot be ported, and the README states that it is an independent project not affiliated with the Rust Project or the Rust Foundation.통과는 기록된 사례와 모두 맞는다는 뜻이고 그 밖은 보장하지 않습니다. 시간, 메모리, 부하 아래 동시성, 네트워크 호출이나 데이터베이스 같은 부수 효과는 비교하지 않고, 기록은 그것을 돌린 컴퓨터에서의 동작을 증명합니다. Kotlin과 Swift는 아직 지원하지 않고 APK, JAR, .exe처럼 컴파일된 앱은 옮기지 못하며, README는 이 도구가 Rust Project나 Rust Foundation과 관계없는 독립 프로젝트라고 밝혔습니다.
HREN


