loccount: A faster SLOC utility

Here’s my first new project in a while – loccount, inspired by David A. Wheeler’s sloccount tool but much faster and with broader language coverage.

I actually wrote this as a learning exercise in the Go language. You can find more details in my NTPsec blog post on Grappling With Go.

If you like it, please remember that open source may be free but my time is not and join my Patreon feed.

4 comments

  1. The first three file links either 404 or reference the ‘ascii’ program… (as of 20170214T00:41)

    1. >The first three file links either 404 or reference the ‘ascii’ program… (as of 20170214T00:41)

      Should be fixed now.

  2. @esr – one minor correction. You state in the post that it’s unprecedented for a language to be both garbage collected and aimed squarely at systems programmers. Niklaus Wirth’s Oberon programming language (which Go borrowed some ideas from), was one that was developed in around 1985-86.

Leave a comment

Your email address will not be published. Required fields are marked *