Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm hijacking a bit, but one thing I've been really wanting is some advanced optimization material for C++. There's so much that goes into data locality, branch elimination, faster ways to copy word-aligned data, and so on. I've picked up all I know on the fly, but would love some great resources which go deep into this. Is there something more instructive than Intel manuals?

Closest thing I found recently is this: https://agner.org/optimize/optimizing_cpp.pdf



I really enjoyed “Speed Is Found In The Minds Of People”, a talk by Andrei Alexandrescu.

At first he is just showing simple stuff, but stay with it, he goes deep.

https://m.youtube.com/watch?v=FJJTYQYB1JQ


Ah, I'm familiar with Alexandrescu. Thanks for this suggestion!


You might want to check out Fedor Pikus' The Art of Writing Efficient Programs.

Also see Victor Eijkhout's books : https://theartofhpc.com/


Perfect. Thank you!


Also checkout the old (and slim) classic Writing Efficient Programs by Jon Bentley (of Programming Pearls fame).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: