3 ms·
Citing performance (especially related to micro-optimization) everytime we discuss language design is not a right thing to do. Most applications don't require o
by xfer 9y ago
Citing performance (especially related to micro-optimization) everytime we discuss language design is not a right thing to do. Most applications don't require or benefit from such micro-optimization(tight control of layout).
> but it was designed in an era where hardware had very different performance characteristics from today's hardware.
Exactly, the era of 256k memory computers are over. Programmer time and correctness is more valuable than making sure everything fits in L1 cache.
- nickm12 9y agoYou're missing my point. When we had 256k memory computers we didn't have caches because memory access was uniform. As time goes on, fitting in cache is getting more important, not less.
- loup-vaillant 9y agoThe difference between random access and linear access is easily 10x, possibly more. Given how much time your average huge application (Word, Photoshop…) takes to even start up, I think this is still an important point. Programmer time is important, but so is user time. And in many cases, there are many more users than programmers.