Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tmtvl
6 days ago
|
parent
|
context
|
favorite
| on:
C isn't a programming language anymore (2022)
Don't forget about branch prediction (GCC may have __builtin_expect, but that's not standard C).
direwolf20
6 days ago
[–]
The compiler usually can't do anything about branch prediction. Expect is more about keeping cold paths out of the cache.
reply
pjmlp
6 days ago
|
parent
[–]
Actually that was one of the problems with EPIC architectures, where compilers are expected to be the ones doing those kind of optimizations.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: