6 ms·
> AFAICT there's no easy way to measure the LoC actually compiled I take it you can't just run it through the preprocessor then count the lines of code that ar
by Sean1708 7y ago
> AFAICT there's no easy way to measure the LoC actually compiled
I take it you can't just run it through the preprocessor then count the lines of code that are output from that?
- nneonneo 7y agoThe kernel is composed of a bunch of independent source files which share headers; thus, running them through a preprocessor would massively overcount the LoC. (In theory, this would get you the “actual compiled LoC” but that’s a useless metric because most header files are just declarations that are easy to parse and “compile”).