Both OSes are written in multiple languages. Some of OSX is written in ObjC.
At least the parts I've seen were written in C, C++, ASM and ObjC (actually some of the ObjC might have been ObjC++, but my memory isn't that good.)
Windows 7 however was all either C or C++, nothing I was looking at was C#, but I'm sure parts of Win7 were written in it.
You realize of course that those lines of code are not the kernels only right? Any time you see those LoC things they mean everything that they consider part of the OS. It's going to include the kernel, the boot code, the libraries, the utilities, the interfaces, the included apps, everything.
37
u/ironnomi Dec 06 '15
Having seen both code bases extensively, I can say there can be NO direct code comparisons between the two.
In general, Apple's ObjC code easily takes up 4x the space as the typical Windows C++ code.