Don't rewrite it in Rust. Rewrite the 5% that's slow: profile your app, port the hot functions with your coding agent, prove they behave the same. Python, JS/TS, Ruby, Java, Kotlin, Go, PHP, C/C++, C#, R.
Rust agent-skillsai-agentsclaude-codeclaude-code-plugincodexdeveloper-toolsffimcpmcp-servernapi-rsnodejsoptimizationperformanceprofilerpyo3pythonrewrite-it-in-rustrubyrusttypescript
Merge #145
EL4CTEO0738d6505b5a
diff --cc src/main.rsindex e7143a3,617a2e4..99cad4b--- a/src/main.rs+++ b/src/main.rs@@@ -168,9 -195,13 +195,13 @@@ fn run(cmd: Cmd, root: &Path, json: booif !v.ok() {bail!("{agent} couldn't get {} right in {attempts} attempts", out.id);}- if !v.slower() && !v.too_cheap() {- if !json && !v.slower() {++ if !json && !v.slower() && !v.too_cheap() {show::next(&format!("fast-anything enable {}", out.id));}+ } else if json {+ show::json(&out)?;+ } else {+ show::port(&out, true);}Ok(())}@@@ -181,7 -232,7 +232,7 @@@if !v.ok() {bail!("{id} doesn't match the original yet");}- if !v.slower() && !v.too_cheap() {- if !json && !v.slower() {++ if !json && !v.slower() && !v.too_cheap() {show::next(&format!("fast-anything enable {id}"));}Ok(())diff --cc src/pipeline.rsindex fcb7f3d,fc6945e..4b690ff--- a/src/pipeline.rs+++ b/src/pipeline.rs@@@ -449,8 -432,10 +447,10 @@@ pub fn agent_port(root: &Path, id: &strui::step(format!("{} is writing the Rust port (attempt {attempt}/{attempts})", ui::bold(agent_spec)));agent::run(agent_spec, &dir, &prompt, &dir.join("agent.log"))?;let (_, v) = verify(root, Some(id))?;- show::verify(id, &v);+ if !ui::quiet() {+ show::verify(id, &v);+ }- if v.ok() && !v.slower() {+ if v.ok() && (!v.slower() || v.too_cheap()) {return Ok(v);}if v.ok() && right.as_ref().is_none_or(|(best, _)| speedup(&v) > speedup(best)) {