Connect with us

Technology

How Many Millions of Lines of Code Does It Take?

Published

on

How Many Millions of Lines of Code Does It Take?

How Many Millions of Lines of Code Does It Take?

Today’s data visualization comes from David McCandless from Information is Beautiful. Buy their awesome book called Knowledge is Beautiful – we own the physical version, and it’s full of great data visualizations.

How many millions of lines of code does it take to make the modern program, web service, car, or airplane possible?

The range is extraordinary: the average iPhone app has less than 50,000 lines of code, while Google’s entire code base is two billion lines for all services. And interestingly, the code behind machines such as fighter jets, popular video game engines, and even the Large Hadron Collider fall somewhere in between these two extremes.

Increasing Complexity

A million lines of code, if printed, would be about 18,000 pages of text. That’s 14x the length of War and Peace.

It’s more than what was needed to run old technologies like the Space Shuttle, a pacemaker, or even the game engine of Quake 3 – but it’s not enough to be the driving force behind the modern software that’s used in everyday life today.

  • The control software to run a U.S. military drone uses 3.5 million lines of code.
  • A Boeing 787 has 6.5 million lines behind its avionics and online support systems.
  • Google Chrome (browser) runs on 6.7 million lines of code (upper estimate).
  • A Chevy Volt uses 10 million lines.
  • The Android operating system runs on 12-15 million lines.
  • The Large Hadron Collider uses 50 million lines.
  • Not including backend code, Facebook runs on 62 million lines of code.
  • With the advent of sophisticated, cloud-connected infotainment systems, the car software in a modern vehicle apparently uses 100 million lines of code. This is according to Wired magazine.
  • All Google services combine for a whopping 2 billion lines.

Applying the math above – that means it would take 36,000,000 pages to “print out” all of the code behind all Google services. That would be a stack of paper 2.2 mi (3.6 km) high!

Subscribe to Visual Capitalist

Thank you!
Given email address is already subscribed, thank you!
Please provide a valid email address.
Please complete the CAPTCHA.
Oops. Something went wrong. Please try again later.

Continue Reading
Comments

Technology

Visualizing Moore’s Law in Action (1971-2019)

Can the predictions from Moore’s Law keep up with technological innovation spanning almost 50 years? Watch this stunning animation to find out.

Published

on

Animation: Visualizing Moore’s Law in Action (1971-2019)

The pace of technological progress keeps accelerating.

There are many ways to show this, but perhaps the simplest way is to create a visual representation of Moore’s Law in action.

Today’s animation comes to us from DataGrapha, and it compares the predictions of Moore’s Law with data from actual computer chip innovations occurring between 1971 to 2019.

Defining Moore’s Law

Moore’s Law was originally derived from an observation by Gordon Moore, the co-founder of Fairchild Semiconductor and later the co-founder and CEO of Intel.

In 1965, Moore wrote that the number of components in a dense integrated circuit (i.e., transistors, resistors, diodes, or capacitors) had been doubling with every year of research, and he predicted that this would continue for another decade.

Later on in 1975, he revised his prediction to the doubling occurring every two years.

Like the animation, the following chart from Our World in Data helps plot out the predictions of Moore’s Law versus real world data ⁠— note that the Y Axis is logarithmic:

Moore's Law in Action

View full size image

The prophetic prediction of Moore’s Law has led to exponential progress in computing — as well as for everything else touched by computers.

It’s no surprise then, especially given that the modern information age is largely driven by increasingly efficient computing, that this law has had a trickle down effect on nearly every significant aspect of global innovation.

An Accelerated Pace of Change

Moore’s Law has translated into a faster rate of change for society as a whole.

A new idea, like the smartphone, can get immediate traction because of instantaneous communication, increased global connectivity, and the ubiquity of information. New tech advancements can now change business or culture in a heartbeat:

The accelerating rate of technology adoption

Further, since software is a “layer” built upon the foundation of computing, it means that digital products can be replicated at almost no marginal cost. This is why a phenomenon like Pokémon Go was able to captivate 50 million users in just 19 days.

Imagine this kind of scalability, when applied to things like artificial intelligence or virtual reality.

Is Moore’s Law Dead or Alive?

As with any enduring prediction, there are always naysayers out there that will boldly forecast an imminent end to the trend.

Since the 2000s, there has been an ongoing debate within the semiconductor community on whether Moore’s Law will continue its reign, or if progress will ultimately sputter out as certain physical limitations catch up with the process of miniaturization.

Earlier in 2019, Nvidia CEO Jensen Huang declared that Moore’s Law is no longer possible. For what it’s worth, Intel still says technology in chipmaking always finds a way to advance — while TSMC has recently said the law is actually alive and well.

Regardless of who is right, Moore’s Law has held true for close to 50 years, and its repercussions will continue to be felt in almost every aspect of life and society going forward.

Subscribe to Visual Capitalist

Thank you!
Given email address is already subscribed, thank you!
Please provide a valid email address.
Please complete the CAPTCHA.
Oops. Something went wrong. Please try again later.

Continue Reading

Maps

Wired World: 35 Years of Submarine Cables in One Map

Watch the explosive growth of the global submarine cable network, and learn who’s funding the next generation of cables.

Published

on

submarine cable network

You could be reading this article from nearly anywhere in the world and there’s a good chance it loaded in mere seconds.

Long gone are the days when images would load pixel row by pixel row. Now, even high-quality video is instantly accessible from almost everywhere. How did the internet get so fast? Because it’s moving at the speed of light.

The Information Superhighway

The miracle of modern fiber optics can be traced to a single man, Narinder Singh Kapany. The young physicist was skeptical when his professors asserted that light ‘always travels in a straight line’. His explorations into the behavior of light eventually led to the creation of fiber optics—essentially, beaming light through a thin glass tube.

The next step to using fiber optics as a means of communication was lowering the cable’s attenuation rate. Throughout the 1960-70s, companies made gains in manufacturing, reducing the number of impurities and allowing light to cross great distances without a dramatic decrease in signal intensity.

By the mid-1980s, long distance fiber optic cables had finally reached the feasibility stage.

Crossing the Pond

The first intercontinental fiber optic cable was strung across the floor of the Atlantic Ocean in 1988. The cable—known as TAT-8*—was spearheaded by three companies; AT&T, France Télécom, and British Telecom. The cable was able to carry the equivalent of 40,000 telephone channels, a ten-fold increase over its galvanic predecessor, TAT-7.

Once the kinks of the new cable were worked out, the floodgates were open. During the course of the 1990s, many more cables hit the ocean floor. By the dawn of the new millennium, every populated continent on Earth was connected by fiber optic cables. The physical network of the internet was beginning to take shape.

As today’s video from ESRI shows, the early 2000s saw a boom in undersea cable development, reflecting the uptick in internet usage around globe. In 2001 alone, eight new cables connected North America and Europe.

From 2016-2020, over 100 new cables were laid with an estimated value of $14 billion. Now, even the most remote Polynesian islands have access to high-speed internet thanks to undersea cables.

*TAT-8 does not appear in the video above as it was retired in 2002.

The Shifting Nature of Cable Construction

Even though nearly every corner of the globe is now physically connected, the rate of cable construction is not slowing down.

This is due to the increasing capacity of new cables and our appetite for high-quality video content. New cables are so efficient that the majority of potential capacity along major cable routes will come from cables that are less than five years old.

Traditionally, a consortium of telecom companies or governments would fund cable construction, but tech companies are increasingly funding their own submarine cable networks.

tech company submarine cables

Source

Amazon, Microsoft and Google own close to 65% market share in cloud data storage, so it’s understandable that they’d want to control the physical means of transporting that data as well.

These three companies now own 63,605 miles of submarine cable. While laying cable is a costly endeavor, it’s necessary to meet surging demand—content providers’ share of data transmission skyrocketed from around 8% to nearly 40% over the past decade.

A Bright Future for Dark Fiber

At the same time, more aging cables will be taken offline. Even though signals are no longer traveling through this network of “dark fiber”, it’s still being put to productive use. It turns out that undersea telecom cables make a very effective seismic network, helping researchers study offshore earthquakes and the geologic structures on the ocean floor.

Subscribe to Visual Capitalist

Thank you!
Given email address is already subscribed, thank you!
Please provide a valid email address.
Please complete the CAPTCHA.
Oops. Something went wrong. Please try again later.

Continue Reading
Novagold Company Spotlight

Subscribe

Join the 130,000+ subscribers who receive our daily email

Thank you!
Given email address is already subscribed, thank you!
Please provide a valid email address.
Please complete the CAPTCHA.
Oops. Something went wrong. Please try again later.

Popular