logoalt Hacker News

re-thctoday at 2:10 PM5 repliesview on HN

> Most developers, in Java and in most other languages, do not consider the cost of every field

Are you saying most developers are bad? It’s the equivalent of most employees don’t consider the cost of every action to the employer and is how company spend blows up.


Replies

prontoday at 2:28 PM

I'm saying that most developers aren't writing code where layout is a primary contributor to the program's performance. Even in performance-sensitive applications, only a minority of the team are working on the hot spots.

And speaking about costs, knowing what to optimise is the key to software performance. Improving the performance of an operation by 10000x will improve the performance of your program by less than 1% if the operation is only 1% of the profile to begin with. So I'm only saying that most developers don't work on code where the layout is very significant, but some certainly do.

show 1 reply
Retr0idtoday at 2:25 PM

Most likely they just have other priorities. A lot of code is not at all performance-sensitive, or is bottlenecked by some other factor.

perching_aixtoday at 5:14 PM

No, it means the opposite.

nathanielkstoday at 2:16 PM

If the previous commenter won't say that, I will

LoganDarktoday at 2:45 PM

It doesn't take a "bad developer" to not consider the cost of every field...