News for hackers. Stuff that matters.
Re:Six times faster than C by seventhson on Thursday July 06, 2023 @08:52PM (#36625542)
Linus' post is 15+ years old. Much has changed in Intel hardware since then. He was probably right on the money re the hardware available at the time.
Re:Six times faster than C by torstenvl on Thursday July 06, 2023 @10:59PM (#36626528)
> I don't know when the change was made, but conditional moves are fast and efficient on the last several generations of AMD and Intel processors. Usually, you are trading 1 or 2 extra cycles of latency against the chance of a ~15 cycle mispredicted branch penalty. If your branch cannot be predicted correctly ~85% of the time, this can be a significant win.

https://news.ycombinator.com/item?id=10749195

Re:Six times faster than C by zaxomi on Friday July 07, 2023 @03:20AM (#36628336)
I read the rant. He is talking about Pentium 4.