@GergelyOrosz: Have we been using "premature optimization is the root of all evil" wrong, all this time? I always assumed this means "…
Summary
A discussion questioning the common interpretation of premature optimization in software development, referencing insights from performance expert Casey Muratori.
View Cached Full Text
Cached at: 09/04/26, 04:22 AM
Have we been using “premature optimization is the root of all evil” wrong, all this time? I always assumed this means “you can perf optimize later”
@cmuratori says you can only do HOTSPOT optimization. If your arch was not built with perf in mind, you can only fix w a rewrite
no, I don’t cover every single downtime happening … especially when it works for me
Ok, THIS is wild, never expected anything like this:
Uber exited Nigeria… no warning, just shut down the app, on the spot. When riders were mid-trip ?!!
This is what a startup that just went bankrupt would do, not a $150B corporation. Uber operated in Nigeria since 2014 (!!)
Similar Articles
Casey Muratori – The Root of The Root of All Evil – BSC 2026
Casey Muratori traces the origin of Donald Knuth's quote 'premature optimization is the root of all evil' to a 1967 debate involving Edsger Dijkstra, Tony Hoare, and Brian Randell, emphasizing the historical context of program structure and efficiency.
Optimize for change not application performance
The article argues that software teams often over-optimise for micro-performance benchmarks at the expense of developer experience and engineering throughput, which are the true bottlenecks for long-term delivery speed and maintainability.
@GergelyOrosz: So much sw today doesn’t care much about perf. It just feels sluggish. And everyone seems to have accepted it. Except w…
Gergely Orosz discusses how modern software often neglects performance, citing examples like Bun and Linear, and highlights a fast demo of Superlogical for tmux by Mitchell Hashimoto.
Premature Optimization is Fun Sometimes
A blog post exploring the optimization of a ring buffer data structure for storing ping timestamps, discussing tagged unions, bitfields, and struct padding to reduce memory footprint.
@vikhyatk: too much time is being spent making optimizers marginally faster. what we really need is hparam-free optimizers
Expresses the opinion that too much effort is spent on making optimizers marginally faster, and the real need is for hyperparameter-free optimizers.