In a modern car, there are more lines of code than ...

image



The number of lines of code in a modern car is 200 times more than in the Shuttle , 60 times more than in the F-22 Raptor fighter, 50 times more than in the Hubble telescope , 20 times more than in the Curiosity rover , 4 times more than in fifth-generation fighters, 2 times more than in the large hadron collider or Facebook, if you print all the code on paper, the stack will be 200 meters high. ( according to data for 2009-2012 )



Data on the number of lines of code in a modern car caused heated debate on Reddit . Questions on topics from β€œWhere do these lines hide if the microcontrollers have limited memory?” To β€œDoes the number of lines of code mean anything?”



Comparative data on the number of lines of code ( SLOC ) in various projects is quite interesting.



image






Margaret Hamilton and her source code for landing Apollo 11



The number of lines of code is less than a million



10.000 - Unix v 1.0 (1971) [ proof ]

10.000 - simple game for iOS app [ proof ]

14.000 - Win32 / Simile virus [ proof ]

39.000 - iOS app - photo editing [ proof ]

80.000 - pacemaker [ proof ]

120.000 - the first version of Photoshop v1 (1990) [ proof ]

200.000 - Camino browser [proof]

310.000 - Quake 3 engine [ proof ]

400.000 - Space Shuttle [ proof ]



> million



image








Bill Gates in 1994 demonstrates that more information can fit on a CD than on tall stacks of paper.



1,000,000 lines of code fit on 18,000 pages, 2 meters high (14 times larger than War and Peace, 25 times larger than Ulysses, 63 times larger than The Catcher in the Rye)



1,000,000 - Crysis game [ proof ]

1.140.000 - the genome of the bacterium that causes syphilis [ proof ]

1.200.000 - Age of Empires Online [ proof ]

1.200.000 - climate model of the planet CESM [ proof ]

1.700.000 - F-22 Raptor fighter [ proof ]

1.800.000 - Linux Kernel 2.2.0 (1999) [ proof ]

2.000.000 - Hubble Space Telescope [ proof ]

2.000.000 - Unreal Engine 3 engine [ proof ]

2.500.000 - Windows 3.1 (1992) [ proof ]

3.500.000 - control software in drones [ proof ]

3.500.000 - software for managing petabytes of data from the hadron collider ROOT [ proof ]

4.500.000 - Photoshop CS 6 (2012) [ proof ]

4.500.000 - Windows NT 3.1 (1993) [ proof ]

4.700.000 - HD DVD Players on XBox [ proof ]

5.000.000 - Mars rover Curiosity [ proof ]

5.200.000 - Linux kernel 2.6.0 (2003) [ proof ]

5.500.000 - World of WarCraft server [ proof ]

6.100.000 - Windows XP Service Pack 1

6.500.000 - avionics and online support systems on Boeing 787 [ proof ]

6.700.000 - Google Chrome [ proof ]

7.500.000 - Windows NT 3.5 (1994) [ proof ]

9.000.000 - LibreOffice [ proof ]

9.500.000 - Windows NT 3.51 (1995) [ proof ]

9.700.000 - Firefox [ proof ]

10.000.000 - electric car Chevy Volt [ proof ]

10.000.000 - Intuit Quickbooks accounting software package [ proof ]

11.300.000 - OpenOffice [ proof ]

11.500.000 - Windows NT 4.0 (1996) [ proof ]

12.000.000 - Android (including 3 million lines in XML, 2.8 million lines in C, 2.1 million lines in Java and 1.75 million lines in C ++) [ proof ]

12.500.000 - Mozilla Core library [ proof ]

12.500.000 - MySQL [ proof ]

14.000.000 - all Boeing 787 software [ proof ]

15,000,000 - Android (top grade)

15.000.000 - Linux 3.1 (2013) [ proof ]

20.000.000 - Linux kernel pre-4.2 (2015) [ proof ]

23.000.000 - Apache Open Office [ proof ]

24.000.000 - fifth-generation fighter-bomber F-35 Fighter [ proof ]

25.000.000 - Microsoft Office (2001) [ proof ]

29.000.000 - Windows 2000 (2000) [ proof ]

30.000.000 - Microsoft Office for Mac (2006) [ proof ]

37.600.000 - Symbian [ proof ]

40.000.000 - Windows 7 [ proof ]

40.000.000 - Windows XP (2001) [ proof ]

45.000.000 - Microsoft Office (2013) [ proof ]

50,000,000 - Large Hadron Collider [ proof ]

50.000.000 - Microsoft Visual Studio 2012 [ proof ]

50,000,000 - Windows Vista (2007) [ proof ]

62.000.000 - Facebook (without backend code) [ proof ]

68.000.000 - Debian 5.0 codebase [proof]

86.000.000 - Mac OS X 10.4 [ proof ]

100.000.000 - software in a typical new car of 2013 [ proof ]

324.000.000 - Debian 5.0 (all software in package) [ proof ]

2.000.000.000 - Google [ proof ] a stack of printed pages 3.6 km high



Big picture with infographics
image





We dug up the sources and found out that we were the first to write about 100 million lines of code in the IEEE Spectrum magazine , citing professor emeritus of Munich Technical University Manfred Broy , who deserved the Konrad Zuse medal (almost noble in computer science) in the 2009 publication β€œThis Car Runs on Code " :

These are impressive amounts of software, yet if you bought a premium-class automobile recently, ”it probably contains close to 100 million lines of software code,” says Manfred Broy, a professor of informatics at Technical University, Munich, and a leading expert on software in cars. All that software executes on 70 to 100 microprocessor-based electronic control units (ECUs) networked throughout the body of your car.






About ITELMA



image






We are a large automotive components company. The company employs about 2500 employees, including 650 engineers.



We are perhaps the most powerful competence center in Russia for the development of automotive electronics in Russia. Now we are actively growing and we have opened many vacancies (about 30, including in the regions), such as a software engineer, design engineer, lead development engineer (DSP programmer), etc.



We have many interesting challenges from automakers and concerns driving the industry. If you want to grow as a specialist and learn from the best, we will be glad to see you in our team. We are also ready to share expertise, the most important thing that happens in automotive. Ask us any questions, we will answer, we will discuss.



UPD



The result of the survey on lines of code in your project in VK
image








Source and comments






All Articles