GO Runtime internals documentation

1,418 views
Skip to first unread message

Dan Partelly

unread,
Jul 16, 2012, 8:09:35 AM7/16/12
to golan...@googlegroups.com
 Hi all.

 Is there any documentation regarding the internals of GO run-time ? Things like:

- memory allocation strategies; guarantees on alignment and so on
- garbage collection algorithms; host program GC control/ GC guarantees, if any
- scheduler algorithms ; incoming changes in future
- internal of dispatching methods on types.
- internals of interfaces

If there is not such a documentation, is there any plan by GO language team to make such docs available to the end users ? They exist probably internally somewhere.

Thanks.

Christoph Hack

unread,
Jul 16, 2012, 8:28:40 AM7/16/12
to golan...@googlegroups.com
Some of them are available, but they are subject to change. You shouldn't rely on
any of them.


- scheduler algorithms ; incoming changes in future

 
- internal of dispatching methods on types.
- internals of interfaces

Dmitry Maluka

unread,
Jul 16, 2012, 4:02:59 PM7/16/12
to golan...@googlegroups.com
Apparently the best one is the source code itself. Unlike in many
enterprise projects, it's not an unreadable mess.

Paul

unread,
Jul 17, 2012, 4:48:39 AM7/17/12
to golan...@googlegroups.com
Its a fast moving target:

the run-time & sceduler is currently being redesigned, read here: https://groups.google.com/forum/?fromgroups#!topic/golang-dev/_H9nXe7jG2U

The way memory is allocated and the subsequent Garbage Collection is also being redesigned its on golang-dev for example see this thread: https://groups.google.com/forum/?hl=en&fromgroups#!topic/golang-dev/TWe3tRiZwRk

If you read golang-dev you will also pick up the names of the people working on things, they will be the experts. 

s.maty...@gmail.com

unread,
Mar 12, 2015, 11:10:36 AM3/12/15
to golan...@googlegroups.com
Recently, I've started a series of blog posts where I share my own experience of investigating Go source code. I also plan to cover some of the topics that you mentioned. This series can be found here. It might be useful for those who want to start investigating Go internals.
Reply all
Reply to author
Forward
0 new messages