GHC code size
Steven Shaw
steven at steshaw.org
Wed Jun 15 00:05:29 UTC 2022
Hi Simon,
If you prefer to use the old `count_lines`, you can retrieve it like this:
git show 0cd989577a8b8d2666741fcac4fd3032ae212b80^:utils/count_lines/
count_lines.pl >/tmp/count_lines.pl
It appears to need a list of files. The output is quite busy (not quite
like your nice summary above). For example, the output of
perl /tmp/count_lines.pl $(find compiler -name '*.hs')
on `master` is
https://gist.github.com/steshaw/b636fb76c805bfa0fff7484f5da11ed6
Perhaps if you recall how you used `count_lines` in the past, you can make
an accurate comparison!
Cheers,
Steve
On Wed, 15 Jun 2022 at 04:15, Ben Gamari <ben at smart-cactus.org> wrote:
> Bryan Richter via ghc-devs <ghc-devs at haskell.org> writes:
>
> > A quick googling discovered
> > https://githubnext.com/projects/repo-visualization, which has some of
> > the desired features. :)
> >
> Another somewhat-related visualiation tool that can produce some pretty
> pictures is gource [1]. I wouldn't call the output "useful" per se, but
> it is mildly amusing to see the avatars frenetically flying about the
> source tree. It gives you a sense of just how many people are
> responsible for building the GHC that we know and love.
>
> Here [2] is a rendering of ghc's history. Best to skip the first minute
> or so, which is largely just Will Partain setting things up. Things
> really start to pick up around 2012 (around the 6 minute mark); it's
> truly dizzying. Happily, this momentum has persisted to this day.
>
> Cheers,
>
> - Ben
>
> [1] https://gource.io/
> [2] http://home.smart-cactus.org/~ben/ghc/gource-2022-06-14.mkv
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20220615/cd1faa8c/attachment.html>
More information about the ghc-devs
mailing list