Why software is slow: design often matters more than language
The article argues that improving software design often produces larger performance gains than rewriting a program in C or Rust. In a hypothetical CRUD service where database lookups take half of request time, speeding up the rest can yield at most a 2× gain under Amdahl's law[1]; the 50% figure is an example, not a universal measurement. Many applications are I/O-bound[2], while Python programs may already hand intensive calculations to optimized native libraries, so changing languages may not speed up the main work. The article recommends asking AI to profile bottlenecks and reduce or restructure work through caching, asynchronous or background tasks, parallelism, and fewer SQL queries, and rewriting only CPU-bound[3] sections that cannot be made to do less work. Examples include a Rust redesign that ran 30% faster than optimized C by using a B-tree[4], and toks, which reports 4–23× the speed of tiktoken; the article notes that design changes may explain the gain and that tokenization is only part of inference time.
Read the original seangoedecke.comDiscussion on GeekNews
Discussion
Commenters mainly challenged the claim that most real programs are I/O-bound, pointing to CPU-intensive applications and cases where database queries take only a small part of response time. Others noted that language choice can affect how costly it is to implement a good design, while one commenter agreed with the design argument but said an equivalent Rust implementation would still be faster.
Sources
-
KRGeekNews KO
소프트웨어가 느린 이유는 느린 언어가 아니라 나쁜 설계 때문이다
-
seangoedecke.com
Software is slow because of bad design, not slow languages


