Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.
Rust agent-skillsclaude-codeclicode-migrationcodexffigolangjavajavascriptmcpmigrationnapiperformanceportingpyo3pythonrewriterubyrusttypescript
textkit-rs
Rust port of lib/textkit/, bridged with a JSON dispatcher. Generated by rust-anything.
Functions
page_count(lib/textkit/nums.rb:9)mean(lib/textkit/nums.rb:17)clamp(lib/textkit/nums.rb:27)slugify(lib/textkit/words.rb:9)word_count(lib/textkit/words.rb:16)titleize(lib/textkit/words.rb:22)
Loop
rust-anything record . # record what the Ruby code does
rust-anything build . # build the shared library
rust-anything diff . # run the recorded cases against Rust
rust-anything shadow . # run both in the app, log mismatches
rust-anything gate . # fmt, clippy, tests, unsafe, API, diff