Kernel Comparison: Linux (2.6.22) versus Windows (Vista)
(courtesy http://fcgp.sourceforge.net/)
Source Code
Kernel Source Code
Kernel Language (no drivers) | Linux | Windows |
source | open source | closed source partly open source (WAP access WRK) |
language - C | Y' | Y' |
language - Assembly | Y' | Y' |
language - SEH | N' | Y' |
language - VEH | N' | Y' |
language - C++8 | N' | Y' ' |
language - C proportion8 | 94% ±3%y | 60% ±25%' |
kernel - size Source_lines_of_code 28 | 3.5M ±0.5M' | 10M ±5M26' |
Driver Source Code
Source Code (drivers) | Linux | Windows |
language - C | Y' | Y' |
language - Assembly | Y' | Y' |
language - SEH | N' | Y' |
language - VEH | N' | Y' |
language - C++8 | N' | Y' ' |
drivers proportion of total | 50%' | 40% ±20%' |
i.e. drivers - size Source_lines_of_code 28 | 3.5M ±0.5M' | 7M ±3M'26 |
drivers proportion of total bugs | 85%' | 75% ±20%' |
Kernel + Drivers Source Code
Source Code (kernel + drivers) | Linux | Windows |
language - C proportion8 | 94% ±3%' | 70% ±25%' |
language - C++8 | N' | Y' ' |
total Source_lines_of_code28 | 7M ±2M' | 17M ±9M'26 |
estimated bug error rate per line | 0.02%'10 | 0.2%10, 16' |
i.e. estimated bugs total | 140010' * ' | 3400010, 16' * ' |
<-Prev|Next->
Johnathon Weare © Johnny Weare 2008
Widefox - the Vertical Tab Firefox
Comments (0)
You don't have permission to comment on this page.