How much code? Planes.

To highlight the importance of code in our lives, we have started a semi-regular series called How much code? Last week, we looked at how many lines of code it takes to run an average car. Today, we’re looking at how many lines of code goes into planes – specifically, the Boeing 787 Dreamliner.

It’s proven to be a difficult task to find out how many lines of code go into the workings of an average airplane. But, we have been able to track down the details for a Boeing 787 Dreamliner.

The 787 is generally a long-haul plane and it seats between circa 242 and 335 passengers. According to wikipedia, this plane was created to be 20% more fuel efficient than the 767 that it replaced. Therefore, it was built with more composite materials and used more tech to try to achieve this.

According to Information is Beautiful, the Boeing 787 Dreamliners’ avionics and online support systems are made using between 6 and 7 million lines of code. The same source tells us that the total flight software of the 787 amounts to nearly 14 million lines of code.

How many lines of code in other planes?

While we’ve found it difficult to find out how many lines of code go into other commercial planes, we did find an interesting fact regarding another type of plane. The F-22 Raptor. The F-22 Raptor is a twin-engine stealth fighter aircraft used by the United States Air Force. In terms of build, it shares something in common with the 787 – it uses Boeing-built wings, training systems and avionics. However, the F-22 Raptor is built with far less lines of code. In fact, it’s estimated that there is between one and two millions lines of code in this fighter jet. The F-35 Fighter jet on the other hand has an estimated 24 million lines of code.

Interested in learning more about code? Try our free 5 Day Coding Challenge to learn the basics of HTML, CSS and JavaScript. Register now through the form below.

Semantic HTML: A11y Series - 4

What is semantic HTML? Semantic HTML forms the building blocks of the web. They are the correct ingredients to make a cake. It’s the difference between putting 4 cups of flour into a bowl or putting flour, butter, sugar, and eggs into a bowl. One of those makes a cake (or in our case, a […]

Alt text with Images - A11y Series 3

What is alt text? Alternative text, more commonly known as alt text, is the text that users will hear if they are unable to view an image – an alternative option. Alt text is a short, written description of an image, which fully describes the image when the image cannot be viewed. Alt text is […]

Colour & Accessible Websites - A11y series 2

What does it mean to be colour blind? Colour vision deficiency, more commonly known as colour blindness, causes difficulty identifying and distinguishing between certain colours. This is usually genetic and is present from birth. However, it can appear later in life due to other health conditions, medication side effects, or exposure to certain chemicals. Many […]