Go Under a Microscope?

446 views
Skip to first unread message

dylan...@gmail.com

unread,
Dec 24, 2013, 2:04:54 PM12/24/13
to golan...@googlegroups.com
Are there any resources that cover the internal workings of Go like 'Ruby Under a Microscope' covers Ruby?

http://patshaughnessy.net/ruby-under-a-microscope

Thanks!

Morozov Alexandr

unread,
Dec 26, 2013, 3:38:34 AM12/26/13
to golan...@googlegroups.com
Some info you can find in The Go Blog http://blog.golang.org/ and Russ Cox blog http://research.swtch.com/. The best resource about go internals, that I know is Go source code  http://code.google.com/p/go/.

вторник, 24 декабря 2013 г., 23:04:54 UTC+4 пользователь Dylan Ross написал:

Mateusz Czapliński

unread,
Dec 27, 2013, 8:11:52 AM12/27/13
to golan...@googlegroups.com
On Thursday, December 26, 2013 9:38:34 AM UTC+1, Morozov Alexandr wrote:
Some info you can find in The Go Blog http://blog.golang.org/ and Russ Cox blog http://research.swtch.com/. The best resource about go internals, that I know is Go source code  http://code.google.com/p/go/.

Also, sometimes some interesting article appears here or there, like: http://dave.cheney.net/2013/06/02/why-is-a-goroutines-stack-infinite. But I don't know of any attempt at a central index of those.

As to reading the source, there's actually more to this than what appears on surface, as in several places of the (C) code, there are big comment blocks, which contain a fairly high-level overview of various subsystems and interactions, in regular (technical) prose. Now that I think of it, it could be a good idea to write a script which extracts blocks of kinda >= 3-line comments, and dumps them together into one pseudo-book, to extract all of those gems and collect them in one place.

Also, I've once tried to seed a small wiki with some info I found about the internals, at least on some things which were highly non-obvious to me when trying to start the dive into the code - see: http://goin.wikispot.org/. One guy once added some more to that, but other than that, the wiki didn't see much adoption for now.

/Mateusz Czapliński.
Reply all
Reply to author
Forward
0 new messages