COSCUP 2022

Register-based calling convention for Go functions
2022-07-31 , TR209
Language: 漢語

在 Go 1.18 版本中,register-based calling convention 正式實作進主流架構 (64-bit ARM & x86),而此改善有效地提升 Go 10% 以上的效能。本次議程將介紹 Go 從原先 stack-based 轉換到 register-based calling convention 的轉變過程和兩個 calling convention 的差異。


  1. Calling conventions for x86, ARM, and RISC-V architecture.
  2. The difference between stack-based and register-based calling convention.
  3. Why Go make this change.
  4. Performance improvement from this change.

Target Audience:

開發者、對 Golang 有興趣的朋友

Difficulty: Skilled