News for hackers. Stuff that matters.
Re:Ask HN: How do you familiarize yourself with a new codebase? by h8liu on Friday June 26, 2015 @01:36PM (#9786394)
For golang std lib, since packages have no circular deps, it can be automatically drawn out like this:

http://lonnie.io/gostd/dagvis/

If you write your project that even has no circular deps among files and all files are small (like me in https://github.com/h8liu/e8vm), you can draw the similar graph but at a much finer granularity, like this:

http://8k.lonnie.io/

Re:Ask HN: How do you familiarize yourself with a new codebase? by baby on Friday June 26, 2015 @10:14PM (#9788822)
wow! What did you use to make these? It looks awesome!
Re:Ask HN: How do you familiarize yourself with a new codebase? by h8liu on Friday June 26, 2015 @11:59PM (#9789045)
Thanks.

Here are my hand-made tools to generate those stuff: https://github.com/h8liu/e8tools

Javascript version (I actually wrote this first for go std lib): https://github.com/h8liu/dagvis