building a program to process file trees

May 24, 2022

https://nullprogram.com/blog/2022/05/22/

Nice explanation of how the author built a (windows-only) program to process a file tree and display the number of lines of source code in each directory.

It's an exercise in over-optimization, but intentionally. Also parallelizes the tree building, which is nice.

Full source here

(I'd love to replicate this in zig for kicks)

↑ up