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.

Python Cheat Sheet

Python is one of the most popular programming languages. It currently takes first place both in the Tiobe index and the PYPL index and has been named Language of the Year in 2007, 2010, 2018, 2020, and 2021. This popularity stems both from Python’s versatility and ease of use. Python can be used for Web […]

Git Stash

Git Stash is a built-in command that temporarily stores all of the most recent modifications to the code. That is, the modifications are stored, and the code is reset to its previous state. Git is software that allows a group of developers to keep track of changes and alterations to a source code throughout the […]

What is a CDN?

Whenever you click on a website, you will see that the website loads in minutes and displays its content. What if the webpage’s content takes minutes or even hours to load? You’ll most likely become annoyed and leave the site. Businesses use CDNs on their websites for this purpose. A CDN improves and enhances a webpage’s […]