Articles by tag: assembly
Synchronization in Go: atomics and memory barriers
How CPU reorders instructions and breaks multithreaded code. Analysis of memory fences, atomic operations, and a practical example on Go Assembler.
Returning x86-64 Structures: Registers and MEMORY ABI
Breakdown of return mechanisms for int, small and large structures in x86-64 System V ABI. Assembly examples, hidden rdi arguments. For middle/senior dev. Look under the hood.