this post was submitted on 22 Jul 2026
-27 points (11.4% liked)

Programming

27803 readers
458 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

How many lines of code does an average Linux kernel developer produce per year?

Based on estimates of the value of the Linux kernel (around 2200 Million Euros in 2011), the size of the kernel (in 2011, version 2.6 was current, with a bit less than 20 million lines of code), and average salary of kernel developers (for Germany, one could estimate 60,000 - 80,000 EUR/year for a mid to senior embedded developer, you can go to kununu.de and look for salary statistics for larger companies like Siemens as a reference), one can estimate the lines of new code that a full-time kernel developer produces - less than 1000 lines per year:

 value=2200000000
 cost_man_year = 60000
 lines_of_code= 20000000

 person_years = value / cost_man_year
lines_per_person_per_year = lines_of_code / person_years

I get to 545 lines per person-year that way.

The interesting question is: You can obviously type that in in half an hour. What do these software developers actually do all day? ;->

you are viewing a single comment's thread
view the rest of the comments
[โ€“] vrek@programming.dev 13 points 1 day ago (1 children)

The value of most programmers is not loc. It's knowing the right lines to type. It's knowing which lines to eliminate. It's knowing how to set up your program so it's as short as possible while having all requested features. I can give you basic calculator in maybe 100 lines. I can give you same calculator on 100k lines. Which is the better program? Which do you think is more maintanable? Which do you think is faster?

[โ€“] vrek@programming.dev 5 points 1 day ago

Anyone questioning how to make it 100k lines... Easy

#include "win32.h"