logoalt Hacker News

Retr0id • today at 1:01 PM • 2 replies • view on HN

At this point if you have a python codebase where perf is an issue, the "AI-pilled" answer is to rewrite it in a faster language.


Replies

tweakimp • today at 1:05 PM

But I want to continue to understand the code. I dont know Rust (maybe AI can teach me?) and if I let Claude rewrite my current 50k LOC project in Rust, how can I understand what is happening and how can I work on it and think it further?

➕ show 3 replies
lemagedurage • today at 1:12 PM

It's already typical to call into a native library with Python bindings for performance critical work in Python. Even Pydantic's validation runs in Rust code.

➕ show 1 reply