Advanced
Go (Golang)
Q91 / 100
What is the Go ABI and how did it change in Go 1.17?
Correct! Well done.
Incorrect.
The correct answer is B) Go 1.17+ uses a register-based calling convention (ABI) passing arguments in registers rather than the stack, improving performance by ~5-10%
B
Correct Answer
Go 1.17+ uses a register-based calling convention (ABI) passing arguments in registers rather than the stack, improving performance by ~5-10%
Explanation
Before Go 1.17, all arguments and return values were passed on the stack. The new register ABI passes integer args in RAX, RBX, RCX, RDI, RSI, R8, R9, R10, R11.
Progress
91/100