Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

go-internals

> 编程语言
Open source

A book about the internals of the Go programming language.

7.9K stars0 likes4 views
WebsiteGitHub

About

A book about the internals of the Go programming language.

go-internals

go-internals is a work-in-progress book about the internals of the Go (1.10+) programming language.


Table of Contents

  • Chapter I: A Primer on Go Assembly
  • Chapter II: Interfaces
  • Chapter III (soon!): The Garbage Collector

Click here for the GitBook version.

Goals

  • Concise: The book aims to be as concise as possible, encouraging code and diagrams over lengthy prose.
  • Community-effort: I myself am learning as I go through the writing of this book. I will make mistakes along the way. Hopefully the community can help in pointing out and correcting these mistakes.
  • Beyond the theory: The book will not just cover the theory, but the actual implementation too. Assumptions will be proven or invalidated via experiments and measurements.
  • Up-to-Date: The book will try to keep up-to-date with new Go versions being released.
  • Experienced audience: The Go community has created loads of great introductory material for newcomers. Unfortunately we're still lacking good resources when it comes to the more advanced stuff. This books hopes to help solve this issue.

Translations

  • Chinese

Contributing

All kinds of contributions are very much welcome.

Don't hesitate to open an issue for e.g...:

  • pointing out technical or english mistakes
  • suggesting improvements and/or additions to existing chapters
  • suggesting external links that might be of interest
  • ..and pretty much anything else you can think of, really!

Author

Clement Rey <[email protected]> (@teh_cmc)

License

Licensed under the BY-NC-SA Creative Commons 4.0 International Public License

Issues· 11 open

View all issuesOpen on GitHub
  • #31

    chapter2: switch O(n)

    Updated Feb 5, 2024
  • #40

    Request for update(if possible)

    Updated May 13, 2023
  • #39

    Arguments passing conventions

    Updated Jan 22, 2022
  • #32

    good job, but when is GC part ?

    Updated Apr 28, 2021
  • #37

    chapter2 : interface Type-switches have sorted

    Updated Jan 29, 2021
  • #36

    Clarify "top of the stack"

    Updated Jul 19, 2020
  • #34

    chapter2: Interface conversions. Type assertions where the destination type is itself an interface.

    Updated Sep 13, 2019

> Tags

Gobookgogolanginternals

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言