News for hackers. Stuff that matters.
Re:On lists, cache, algorithms, and microarchitecture by benrbray on Thursday May 02, 2019 @10:23PM (#19814958)
This is excellent, and opportune timing for me too! I just finished courses on microarchitecture and compiler optimization.

Can anyone recommend any similar articles about low level optimization?

Re:On lists, cache, algorithms, and microarchitecture by nkurz on Friday May 03, 2019 @12:20AM (#19815495)
Agner Fog's optimization guide is worth a very close reading: https://www.agner.org/optimize/microarchitecture.pdf

If you want smaller chunks, Denis Bakhvalov is starting to hit his stride with a nice series of blog posts: https://easyperf.net/notes/

If that's not enough, Ingve (who submitted this) has made literally thousands of submissions, and a surprising number are excellent articles on optimization: https://news.ycombinator.com/submitted?id=ingve

Re:On lists, cache, algorithms, and microarchitecture by jokh on Friday May 03, 2019 @12:45AM (#19815638)
Michael Abrash's Black Book is a classic.

http://www.jagregory.com/abrash-black-book/

Re:On lists, cache, algorithms, and microarchitecture by abainbridge on Friday May 03, 2019 @03:26AM (#19816269)
It is a classic book and a great reference if you are optimizing for the 80386. But almost totally irrelevant for modern hardware. Its probably still a fun read for reminiscence purposes - Michael Abrash was a great writer.
Re:On lists, cache, algorithms, and microarchitecture by yaaqs on Friday May 03, 2019 @10:50AM (#19818934)
It goes into pentium architectural points as well which is far more modern than 386. Built-in math coprocessors, Glorious! Though your point remains.

I am guilty of having a fair bit of nostalgia for this book. Memories of sitting in the back seat of my parents car in middle school. Pouring through this book. Fascinated by these inner secrets of machines I knew so little about at the time. Presented in a way even a 12 year old could mostly understand.

Re:On lists, cache, algorithms, and microarchitecture by benrbray on Friday May 03, 2019 @03:33AM (#19816302)
Are there any modern equivalents?