Skip to content

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.

4.5 KB
Raw Blame

title: "Quick start" description: "rust-anything-ஐ install பண்ணி, உங்க coding agent-ல register பண்ணி, முதல் unit-ல loop-ஐ run பண்ணிப் பாருங்க."

Quick start

உங்க agent-ஐயே install பண்ணச் சொல்லுங்க

இதை Claude Code, Codex, Cursor அல்லது Gemini CLI-ல paste பண்ணுங்க:

Install rust-anything: run `cargo install rust-anything`, then `rust-anything setup`.
Tell me when to restart you.

இல்லன்னா நீங்களே install பண்ணுங்க

::: tabs == cargo

cargo install rust-anything   # crates.io-ல இருந்து
rust-anything setup           # Claude Code, Codex, Cursor மற்றும் Gemini CLI-ல register பண்ணும்

== npm

npm install -g rust-anything
rust-anything setup

:::

இன்னும் Rust toolchain இல்லையா? macOS, Linux மற்றும் Windows-க்கான prebuilt binaries ஒவ்வொரு GitHub release-லயும் இணைக்கப்பட்டிருக்கு; JavaScript projects-க்கு npm அதே binary-ஐ install பண்ணும்.

setup அது கண்டுபிடிக்கிற ஒவ்வொரு agent-லயும் MCP server-ஐ சேர்த்து, agent skills படிக்கிற இடத்துல workflow skill-ஐ install பண்ணும். அது என்னென்ன மாத்தும்னு பார்க்க Agent set up பண்ணுங்க பாருங்க.

உங்க agent கிட்ட கேளுங்க

  • "Rewrite this CLI in Rust with rust-anything, end to end, and prove it behaves the same." (இந்த CLI-ஐ rust-anything வச்சு முழுசா Rust-ல மாற்றி எழுதி, அதே மாதிரி வேலை செய்யுதுன்னு நிரூபி.)
  • "This search feels slow. Profile it with rust-anything and move the hot loop to Rust." (இந்த search slow-ஆ இருக்கு. rust-anything வச்சு profile பண்ணி hot loop-ஐ Rust-க்கு மாத்து.)
  • "Plan a migration of src/parser/ to Rust with rust-anything; port the first unit and prove it." (rust-anything வச்சு src/parser/-ஐ Rust-க்கு மாத்த plan போடு; முதல் unit-ஐ port பண்ணி நிரூபி.)
  • "Bench the Rust port in rust/text-rs against the original and tell me whether to ship it." (rust/text-rs-ல இருக்கிற Rust port-ஐ original கூட bench பண்ணி, இதை ship பண்ணலாமா வேணாமான்னு சொல்லு.)

இல்லன்னா steps-ஐ நீங்களே run பண்ணுங்க

x18n-ஓட fuzzyScore-க்கான steps: profile hot loop-ஐக் கண்டுபிடிக்கும், bridge --batch crate-ஐ உருவாக்கும், gate pass ஆகும், அப்புறம் benchmark அதை TypeScript கூட ஒப்பிட்டுக் காட்டும்.

rust-anything profile . -- node bench.mjs              # எங்க நேரம் போகுது, யார் call பண்றாங்க
rust-anything bridge . src/fuzzy.ts --batch fuzzyScore:text
# src/port.rs எழுதுங்க (இல்ல உங்க agent எழுதட்டும்), அப்புறம்:
rust-anything record rust/fuzzy-rs && rust-anything build rust/fuzzy-rs
rust-anything diff rust/fuzzy-rs                       # record ஆன எல்லா case-உம் match ஆகணும்
rust-anything bench rust/fuzzy-rs                      # வேகமா இருக்கா? verdict சொல்லும்
rust-anything gate rust/fuzzy-rs                       # முடிஞ்சதுன்னா இது pass ஆகணும்

ஒவ்வொரு step-உம் The loop-ல விளக்கப்பட்டிருக்கு.

::: tip ஏதாவது miss ஆனா ஒரு runtime, agent setup இல்ல MCP server இல்லாததால இல்ல outdated-ஆ இருக்கிறதால ஒரு step fail ஆச்சுன்னா, rust-anything doctor run பண்ணுங்க. :::