Skip to main content

todo

可以使用 Go 自带的命令: go tool compile -N -l -S hello.go, 将代码翻译成对应的汇编指令。

或者,直接可以使用 Compiler Explorer 这个在线工具。对于上述示例代码可以直接在这个链接看其汇编结果: go.godbolt.org/z/3xw5Cj。如下图:

  1. Go channel
  2. Go defer
  3. Go map
  4. Go select
  5. Go sync, mutex
  6. Go interface
  7. Go panic 和 recover
  8. Go 内存一致性模型
  9. Go 内存管理
  10. Go 协程调度(PMG 调度细节)
  11. Go 垃圾回收
  12. Go 系统调用
  13. Go 网络调用
  14. 反射 https://go.dev/blog/laws-of-reflection, https://juejin.cn/post/6844903559335526407

Learn by Example

  1. Golang ORM 框架

  2. Golang 线程池

  3. 自己动手写一个 Golang ORM 框架 - 腾讯技术工程的文章 - 知乎

  4. Golang 之协程详解

  5. Golang 源码分析计划

  6. Goroutine vs coroutine, thread and Process

  7. Go 1.18 泛型全面讲解:一篇讲清泛型的全部

  8. Golang-Internal-Notes

  9. Go 语言设计与实现

  10. Go 指南 - Channel

  11. Go 指南 - 类型参数