# 原始碼解析

## Go 如何 compile 成不同平台的機器碼



{% embed url="https://www.youtube.com/watch?v=D2-gaMvWfQY" %}

{% embed url="https://github.com/golang/go/blob/master/src/cmd/compile/README.md" %}



**SSA IR**

[**https://github.com/golang/go/blob/master/src/cmd/compile/internal/ssa/README.md**](https://github.com/golang/go/blob/master/src/cmd/compile/internal/ssa/README.md)

