3 ms·
What's the average lifespan of a line of kernel code? I imagine by starting this project 12 years before its anticipated use case they can get very far just by
by wongarsu 4y ago
What's the average lifespan of a line of kernel code? I imagine by starting this project 12 years before its anticipated use case they can get very far just by requiring that any new code is 128-bit compatible (in addition to doing the broader infrastructure changes needed like fixing the syscall ABI)
- trasz 4y agoNot sure about those 12 years - 128-bit registers are already there, and CHERI Morello prototype is at a “physical silicon using this functionality under CheriBSD” stage.
- rwmj 4y ago> What's the average lifespan of a line of kernel code? There's a fun tool called "Git of Theseus" which can answer this question! You can see some graphs of Linux code on the web page: https://github.com/erikbern/git-of-theseus https://github.com/erikbern/git-of-theseus Named after the Ship of Theseus: https://en.wikipedia.org/wiki/Ship_of_Theseus https://en.wikipedia.org/wiki/Ship_of_Theseus
- forgotpwd16 4y agoThere're some more in the presentation article: https://erikbern.com/2016/12/05/the-half-life-of-code.html#:~:text=the%20monster%20repo%20of%20them%20all https://erikbern.com/2016/12/05/the-half-life-of-code.html#:... A (Linux) kernel line has half-life 6.6 years. The highest of the projects analyzed. The lowest went to Angular with half-life 0.32 years.