The Linux kernel has around 27.8 million lines of code in its Git repository, up from 26.1 million a year ago, while systemd now has nearly 1.3 million lines of code, according to GitHub stats analysed by Michael Larabel at Phoronix.
There were nearly 75,000 code commits to the kernel during 2019 which is actually slightly down on 2018 (80,000 commits), and the lowest number since 2013. The top contributors by email domain were Intel and Red Hat (Google's general gmail.com aside) and the top contributing individuals were Linus Torvalds, with 3.19 per cent of the commits, followed by David Miller (Red Hat) and Chris Wilson (Intel). There were 4,189 different contributors overall.
Another point of interest is that systemd, a replacement for init that is the first process to run when Linux starts, is now approaching 1.3 million lines of code thanks to nearly 43,000 commits in 2019. Top contributor was not systemd founder Lennart Poettering (who was second), but Yu Watanabe with 26.94 per cent of the commits.
[...] Larabel has published statistics on coding activity for the Linux kernel here and for systemd here.®
(Score: 4, Insightful) by Anonymous Coward on Friday January 10 2020, @08:16PM (3 children)
vs 1304 LOC: https://github.com/brgl/busybox/blob/master/init/init.c [github.com]
Given that most of the code in the Linux kernel package is for a wide variety of drivers, what would be a good estimate for the number of lines of code that the average user exercises?
(Score: -1, Offtopic) by Anonymous Coward on Friday January 10 2020, @08:23PM
>> what would be a good estimate for the number of lines of code that the average user exercises?
This one would get a lot of exercise:
systemd >> /dev/null
(Score: 2) by turgid on Friday January 10 2020, @09:36PM (1 child)
If Linux had been designed as a micro kernel... By the way, does anyone remember mkLinux?
I refuse to engage in a battle of wits with an unarmed opponent [wikipedia.org].
(Score: 1, Interesting) by Anonymous Coward on Saturday January 11 2020, @08:17AM
"Get out of here before I start using mean words again, Mr. Tanenbaum!"
--Linus, somewhere, probably
In all seriousness, I remember a friend of mine telling me how awesome mkLinux was. He was convinced that it and PPC were the future of computing over Windows and x86. I never used it myself, but it is interesting from a technological standpoint.