I was just wondering who knows what programming languages Windows, Mac OS X and Linux are made up from and what languages are used for each part of the OS (ie: Kernel, plug-in architecture, GUI components, etc).
I assume that there are multiple languages for each and obviously I know the Linux kernel is written in C.
I'm totally guessing here that Mac OS X contains a lot of Objective-C code as it is Apple's language derived from NeXT.
Windows, I have heard contains C, C++ and Intel Assembly. Do Linux or Mac OS contain any Assembly code?
Also, are there scripting languages like Ruby, Python, etc used by the OS developers for scripting parts of the OS? What parts of the OS would be written in each language?