Introduction to 64 Bit Assembly Programming for Linux and OS X: Third Edition - for Linux and OS X

Category: Operating Systems
Author: Ray Seyfarth
4.1

Comments

by nthompson   2018-04-02
I learned x86 floating point assembly from Ray Seyfarth's book:

https://www.amazon.com/Introduction-Bit-Assembly-Programming...

I figured out how to write some basic stuff, then I learned to use perf to performance tune. Being able to read a little assembly was a revolution for me.

I also chuckled about how C is non-portable; omg C++ is so much worse. In some sense, x86 asm is more portable than just about anything now, sure you can't run it on ARM, but your C++ code won't compile on ARM either and you'll be in #ifdef hell for two weeks to get it there, at which point you'll give up.