I'm sorry, but you still have to think
Web page · https://itsallaboutthebit.com/i-am-sorry-but-you-still-have-to-think
First seen by Oriel on .
AI summary
The article argues that AI-generated rewrites still require engineering judgment: language comparisons and benchmarks miss important trade-offs in compatibility, concurrency, delivery reliability, latency, and memory use.
- The Rust rewrite drops some backward compatibility, removes Redis for in-process queues, and uses a bounded tokio::sync::broadcast channel for notifications; the Elixir rewrite stays closer to Rails.
- Under a constant 100 POSTs/s test, Rust initially delivered about 14% of events without HTTP errors, while Elixir delivered about 60% but timed out on roughly 23% of POST requests.
- Increasing Rust's stream_capacity from 256 to 16384 raised event delivery to about 90%, but pMAX delivery latency rose from 11 seconds to over 130 seconds.
- The Elixir version reached 1.8GB of memory under the 100 req/s test; the author frames dropped messages, slow delivery, and memory exhaustion as competing failure modes.
- The article cautions that closed-loop throughput benchmarks do not represent constant-arrival workloads and that a single metric cannot establish which implementation offers better user experience.
#ai coding #rust #elixir #benchmarking
Generated by gpt-5.6-sol. Check the original for details.
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50043689 | https://itsallaboutthebit.com/i-am-sorry-but-you-still-have-to-think/ Read discussion |
| Lobsters | k2natg | https://itsallaboutthebit.com/i-am-sorry-but-you-still-have-to-think/ Read discussion |