News for hackers. Stuff that matters.
Re:Mispredicted branches can multiply your running times by ThrowawayR2 on Wednesday October 16, 2019 @02:17PM (#21273564)
> "And if your platform is a virtual machine or interpreter running across a number of chip archs?"

Outside of microcontrollers, I can't think of a processor in common use that doesn't have branch prediction or caches.

Re:Mispredicted branches can multiply your running times by DrScientist on Friday October 18, 2019 @08:29AM (#21290776)
True though I suspect that that the length of the pipeline and the cost of a cache miss will be quite different between ARM versus Intel.

While, I'm a big fan not not writing poorly performing code, as you get death by a 1000 cuts. Is it not better to test rather than educated guess?

ie The reason there is alot of poor performing code, is not a lack of understanding at a low level about caches and branch prediction, but a lack of care about performance?