by cornstalks · 5mo ago · 0 comments
In practice I expect most optimizations will come from "stop doing stupid stuff" and not "use fancy advanced algorithms." But that's a cynical perspective so don't be cynical like me.
Its how software is built now in these palces.
We do stupid stuff as a stopgap to meet a deadline and then stupid stuff stays until it starts being a problem.
That should be one of those Tech culture “laws.”
I suspect that the dependapocalyse is a significant factor. When every part of an operation has multiple context rebuilds, and resources are not shared across module boundaries, you get inefficient behavior.
But I’m skeptical that there’s a will to rethink that.
We already have something:
"Nothing is so permanent as a temporary government program."
Milton Friedman, Tyranny of the Status Quo
The root of the problem is much more deeply ingrained in our economic system.
Sometimes when some janky p.o.s. solution works well enough, it truly is good enough.
I have known a lot of extremely talented developers, some with more technical skill than me, that simply failed at their job because they couldn’t come to terms with the fact that their job isn’t to produce the most perfect code possible for the problem.
Shipping is very important, sometimes more important than what you ship :)
> Optimizing memory server-side directly translates to cost savings for companies.
Only if those cost savings exceed the cost of development. Optimisation work is usually done by the most experienced, and hence most expensive engineers. It is also possible that the optimisation efforts will fail to produce meaningful results. In my career, I have seen more optimisation efforts fail than succeed.My anecdotal data point: my MacBook neo with 8 gb of ram running mac os is much snappier than my thinkpad x13g1 (ryzen 7 pro, 8c/16t+ 32gb memory) running linux.
Same user (me), same apps, same websites, same data.
I don’t really blame the apps.