News for hackers. Stuff that matters.
Re:Assembly Optimization Tips by anthomtb on Sunday January 08, 2023 @03:19PM (#34302657)
Linked in the article is Agner Fog's website: https://www.agner.org/optimize/. Which appears to have up-to-date knowledge and 2001's web aesthetic (just the way it should be).
Re:Assembly Optimization Tips by bear8642 on Sunday January 08, 2023 @05:58PM (#34304279)
Does anyone have good recommendation for beginner friendly optimisation material? Agner's website starts saying "Note that these manuals are not for beginners. "
Re:Assembly Optimization Tips by anthomtb on Monday January 09, 2023 @12:57AM (#34307283)
I don’t have any beginner-specific material for optimizing Assembly.

But after skimming a few of Agner’s manuals, I think “beginners” means “new to programming” or “new to computer science”. Not the optimization aspect.

If your level of programming knowledge is “I learned to write Hello World in Python last week!” then Agner’s material may as well be hieroglyphics. But if you’ve got some C or C++ under your belt, have written a little assembly and can articulate the difference between a register and the stack then you should be able to understand Agner’s manuals.

Re:Assembly Optimization Tips by bear8642 on Wednesday January 11, 2023 @04:41PM (#34345332)
Good, I'll explore them then. I'm a competent programmer, just new to various simd and other x86 optimizations.