News for hackers. Stuff that matters.
Re:Computing Industry Doesn't Care about Performance: how I ... by fredtalty5 on Monday November 25, 2024 @06:07AM (#42235215)
The computing industry often sacrifices performance for convenience, complexity, or tight deadlines. I focused on making things faster by stripping out unnecessary layers, optimizing core processes, and prioritizing efficiency over feature creep. It’s amazing how much speed you can regain by simplifying instead of stacking. Performance isn’t a luxury—it’s foundational. The key is to treat it as a feature, not an afterthought.
Re:Computing Industry Doesn't Care about Performance: how I ... by jasfi on Monday November 25, 2024 @08:05AM (#42235957)
New products or features are of an acceptable performance only, sometimes not even that. Additional work on performance tuning is often followed up in a later version. It's really about priorities that have to be decided, and deadlines usually win.

Those that prioritize performance upfront can find all that work thrown out if the design needs to change for some reason.

But I think that performance by design upfront should be done where possible. This is where experience helps a ton.

Re:Computing Industry Doesn't Care about Performance: how I ... by blitzar on Monday November 25, 2024 @09:12AM (#42236446)
Allowing (encouraging even) the paying down of technical debt is the real solution. Build the prototypes fast and broken, if they catch on then fix them. This was the way things were once done, and how most of the billions were originally made.
Re:Computing Industry Doesn't Care about Performance: how I ... by jasfi on Monday November 25, 2024 @09:25AM (#42236545)
Not too broken, or you waste a lot of time fixing bugs. Rather build prototypes minimally but working well.
Re:Computing Industry Doesn't Care about Performance: how I ... by blitzar on Tuesday November 26, 2024 @04:09AM (#42243872)
The challenge is convincing management that a 200 person-hour prototype that looks good and "works" needs another 1000+ person hours to button up - or take the promotion, hop to the competition and then it is not-your-problem ...
Re:Computing Industry Doesn't Care about Performance: how I ... by jffhn on Monday November 25, 2024 @08:21AM (#42236055)
>Performance isn’t a luxury—it’s foundational.

Reasons to always try to be nearly optimal on performance from the start, that I rarely saw stated:

1) What you can specify depends on what can be done, and to know what can be done you need to have tried your best. In particular, it allows to see early whether or not performance expectations are reallistic.

2) It's more difficult or impossible to upgrade performance later if it requires to break an API. It causes a development process in O(n^2) in number of layers, instead of O(n).

3) Better lower level performance makes higher level code and architecture simpler, as you can just brute force in more places for a same overall performance.

Re:Computing Industry Doesn't Care about Performance: how I ... by blitzar on Monday November 25, 2024 @08:48AM (#42236260)
No offence intended, however, this is literally the pitch I have seen for why startups with 5 users need to architect their product to be global scale for 1 billion concurrent users. (those that try always burn out and fail)
Re:Computing Industry Doesn't Care about Performance: how I ... by JohnBooty on Monday November 25, 2024 @10:33AM (#42237091)
In reality, I feel like this tends to translate to "we need to scale horizontally and make sure our code runs on a large number of machines" with little consideration for actually optimizing the code itself.

In fact, devoting time to code optimization tends to be explicitly discouraged in my experience. The prevailing wisdom seems to be, "write shitty code... just make sure it runs on as many AWS machine instances as possible."

Re:Computing Industry Doesn't Care about Performance: how I ... by fredtalty5 on Thursday November 28, 2024 @08:43AM (#42265186)
Absolutely agree! Opting for near-optimal performance from the beginning is critical for several reasons:

1. Feasibility of Specifications: By striving for better performance, you gain insight into what’s realistically achievable. This helps assess whether your performance goals are attainable right from the start.

2. Future upgrades and API stability: upgrading performance later can lead to breaking APIs, which complicates development significantly. This can lead to a cascade of intricate changes across multiple layers, making it a time-consuming process.

3. Simplified Architecture: Higher performance at lower levels can allow for simpler, higher-level architecture. When lower-level components are efficient, you have more room to use straightforward, brute-force solutions without sacrificing overall performance.

In short, embedding a focus on performance early in development can save time, reduce complexity, and ensure a smoother evolution of the software.

Re:Computing Industry Doesn't Care about Performance: how I ... by top256 on Tuesday November 26, 2024 @05:40PM (#42250917)
I agree and I think there's a market for faster computers!