Systemd Reached 1.2M Lines of Code
phoronix.com
phoronix.com
Edit: More relevant are these:
Language Files Lines Blank Comment Code
--------------------------------------------------------------------------------
C 890 465499 101077 24438 339984
C/C++ Header 583 48434 8857 8481 31096
(That seems like a surprisingly high number of blank lines)Presumably this more than double the number that phoronix came to is because it is including duplicated files or possibly others that cloc could have ignored as not being code?
for example there are a few ways to count the lines of code of sel4[1] kernel maybe 10,000 lines, maybe 60,000 lines.
But to gauge it vs the linux kernel both 10k vs 20m and 60k vs 20m both give you the orders of magnitude to make a good comparison.
It is hard to imagine how it could take that much code to do what systemd does. Hard, like 2 orders of magnitude hard. Each VM in your machine burns another 200 MB. It seems like only incredible sloppiness could make it so huge. But I would welcome commentary from someone who has audited enough of it to know.