摘要:最近有时间研究下Golang的汇编,在开始之前,最好能了解下X86的汇编。 Go汇编使用的是Plan9汇编,网上有很多资料可以查看,不过这篇我打算从自己亲手调试过的代码开始记录。Go使用的版本是1.15,如果要跟着文章调试,最好版本一样避免差别。 main函数的汇编代码(main_amd64.s):
阅读全文
09 2022 档案
摘要:== 本篇持久更新 == Type接口 PkgPath()string 原文如下: // PkgPath returns a defined type's package path, that is, the import path// that uniquely identifies the pa
阅读全文