3 ms·
Thanks. So to extend on that, if his 800 kLOC is only 6% of the Kernal, does that mean Apple's kernel is around 13 million lines? wow, I had no idea.
by grecy 10y ago
Thanks.
So to extend on that, if his 800 kLOC is only 6% of the Kernal, does that mean Apple's kernel is around 13 million lines?
wow, I had no idea.
- mattip 10y agoAssuming no lines are removed. I often write tens if lines, commit to trigger a test, then rip out hundreds including the ones I wrote. Netcontribution - negative. I consider that a good day's work.
- icebraining 10y agohttp://www.folklore.org/StoryView.py?story=Negative_2000_Lines_Of_Code.txt http://www.folklore.org/StoryView.py?story=Negative_2000_Lin...
- dhimes 10y agoYeah but if you start a project like that it's difficult to make progress :)
- hokkos 10y agoIt seems in 2006 the Darwin XNU package was 1MLOC and the Kext another 1MLOC, so I have hard time believing that 11 others MLOC where needed for the iPhone KERNEL. https://books.google.fr/books?id=K8vUkpOXhN4C&lpg=PA49&ots=OLphYU_rYx&dq=mac%20os%20kernel%20line%20of%20code&hl=fr&pg=PA49#v=onepage&q=mac%20os%20kernel%20line%20of%20code&f=false https://books.google.fr/books?id=K8vUkpOXhN4C&lpg=PA49&ots=O... Linux 3.13 is 7 MLOC in drivers, 2 MLOC in arch, and only 139 KLOC in kernel, so it's probably the drivers that inflate a kernet size but I doubt the iphone needed so much drivers. http://unix.stackexchange.com/questions/223746/why-is-the-linux-kernel-15-million-lines-of-code http://unix.stackexchange.com/questions/223746/why-is-the-li... The guy is probably talking about changed lines (added, removed, changed) and might be liking to fiddle with its code style a lot.
- billforsternz 10y agoNote that he is talking about OSX not iOS.
- deleted 10y ago[deleted]