Common Programming Bugs and Code Sizes in the Tech World
Explore common programming bugs such as division by zero incidents on USS Yorktown and code errors leading to capacity overloads on Ariane 5. Understand the concept of bugs, their impact on end users, and the staggering code sizes of various systems like pacemakers, Hubble, and Facebook.
Download Presentation
Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
E N D
Presentation Transcript
1I.3 Programming 1. Machine code 2. Higher level language and compilation 3. Bugs 4. Humans and languages
2 USS Yorktown In1996, the USS Yorktown tests the Navy's Smart Ship program. During manoeuvers, a crew member enters zero as a value. a division by zero follows stranding the entire ship! Cf https://en.wikipedia.org/wiki/USS_Yorktown_(CG-48) Test entry values!
3 Ariane 5 First Ariane 5 flight in 1996: The code from Ariane 4 was entered directly. But the acceleration values exceed the maximum values anticipated! capacity overload autodestruction Cf https://fr.wikipedia.org/wiki/Vol_501_d% 27Ariane_5 Take maximum values into account to avoid capacity overloads (charts values or sizes)
What is a bug ? That s when the end user does not get what he wants! 4
What is a bug ? That s when the end user does not get what he wants! Because of a programming error Case oversight typography Capacity overload Illicit memory access . . . Because of a communication error Between the programmer and the user Between the programmer and the programmer! 4
Code size Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5
Code size Pacemaker 105LOC Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5
Code size Pacemaker 105LOC Hubble 2M LOC Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5
Code size WoW (server) Boeing 785 5M LOC Pacemaker 105LOC Hubble 2M LOC Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5
Code size WoW (server) Boeing 785 5M LOC Facebook 60M LOC Pacemaker 105LOC Hubble 2M LOC Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5