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
python: enable port before bench in Windows py launcher test
RRFZb772d8eb3ec5
diff --git a/src/python.rs b/src/python.rsindex 53b7b18..579ab57 100644--- a/src/python.rs+++ b/src/python.rs@@ -1029,7 +1029,11 @@ mod tests {let ported = crate::pipeline::port(&dir, Some("work.crunch"), 10).unwrap_or_else(|e| panic!("port {cmd:?} failed: {e:#}"));assert_eq!(ported.calls_seen, 50, "recorded calls for {cmd:?}");+ crate::pipeline::enable(&dir, Some("work.crunch"), true)+ .unwrap_or_else(|e| panic!("enable {cmd:?} failed: {e:#}"));crate::pipeline::bench(&dir, 1).unwrap_or_else(|e| panic!("bench {cmd:?} failed: {e:#}"));+ crate::pipeline::disable(&dir, Some("work.crunch"))+ .unwrap_or_else(|e| panic!("disable {cmd:?} failed: {e:#}"));}let _ = fs::remove_dir_all(&dir);}