News for hackers. Stuff that matters.
Re:What was it like working on the original iPhone project? by jandrewrogers on Wednesday December 28, 2016 @01:42AM (#13268883)
Much of that code will be reimplementation, so the net LOC won't change as much the LOC written. While OSX uses some parts of BSD, which gives it that BSD flavor, it is also substantially a new kernel based on Mach and with many other things under the hood implemented entirely by Apple.

As for the code output, that is on the high-end of what you would expect to see but within the normal range of some highly skilled individual contributors operating within their domain expertise. Of course, this assumes they are largely left alone to do their work and aren't spending half their time in meetings, making powerpoints, etc. Back when I was plying my trade as an individual contributor, I was good for about 8,000 quality LOC per month if I was minimally interrupted, which is only a little less than the engineer in question.

Re:What was it like working on the original iPhone project? by grecy on Wednesday December 28, 2016 @06:49AM (#13269931)
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.

Re:What was it like working on the original iPhone project? by mattip on Wednesday December 28, 2016 @06:56AM (#13269957)
Assuming 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.
Re:What was it like working on the original iPhone project? by icebraining on Wednesday December 28, 2016 @09:50AM (#13270773)
Re:What was it like working on the original iPhone project? by dhimes on Wednesday December 28, 2016 @04:43PM (#13273945)
Yeah but if you start a project like that it's difficult to make progress :)
Re:What was it like working on the original iPhone project? by hokkos on Wednesday December 28, 2016 @07:53AM (#13270154)
It 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=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-li...

The guy is probably talking about changed lines (added, removed, changed) and might be liking to fiddle with its code style a lot.

Re:What was it like working on the original iPhone project? by billforsternz on Wednesday December 28, 2016 @02:48PM (#13273101)
Note that he is talking about OSX not iOS.