I’m not talking about skill, knowledge, or convincing a world focused on radical acceleration that optimization is necessary. Performance optimization is hard because it’s fundamentally a brute-force task, and there’s nothing you can do about it.
This post is a bit of a rant on my frustrations with code optimization. I’ll also try to give actionable advice, which I hope enchants your experience.
Most performance optimisation can be done through improving algorithms and data structures, and knowing well the language you’re using.
I don’t think I’ve encountered any performance issue that wasn’t either:
Of course there are specific cases such as low-power environments and such, but that’s not what most people talk about when they talk about performance.
I also would like to point out my confusion with the obsession towards performance when it’s not needed (such as “is languageA 10% faster than languageB?”) but then everyone putting web technologies everywhere, from games to desktop software. It’s starting to feel like performance is more of a cult than a pragmatic question at this point.
Yeah I’ve noticed a rise in electron apps. Just because it is technically cross platform doesn’t make something efficient. In a lot of cases, devs and large enterprises would be better off simply rewriting code from scratch in Kotlin, Flutter, etc., if performance is the name of the game.