ZME Science
No Result
View All Result
ZME Science
No Result
View All Result
ZME Science

Home → Science → News

How big is Google’s code? It’s huge that’s for sure

Google’s Rachel Potvin took the stage @scale and hinted on just how many lines of code Google uses: a staggering 2 billion.

Tibi PuiubyTibi Puiu
November 25, 2015
in News, Technology
A A
Share on FacebookShare on TwitterSubmit to Reddit

RelatedPosts

Google is shifting their focus from Search to artificial intelligence, CEO says
You can now use Google Maps to explore other moons and planets
Google Timelapse: how the world has changed in the past 28 years
Popular voice assistants like Siri or Alexa easily hacked with ultrasonic commands

lines-of-code

It’s already many years since Google stopped being just an internet company. It’s ambitious projects include Android, self-driving cars, space ventures, advanced biology research, cloud storage, quantum computing and many more. All of these operations, including Google, are now handled by a new parent company: Alphabet, since it’s clear a reorganization was in order to manage so many behemoths. At its core, however, Google (or Alphabet) is still a tech company. This involves a lot of software – the biggest in the world if we’re to judge by one common metric: lines of code.

When Google’s Rachel Potvin took the stage @scale, a tech conference in Silicon Valley, she hinted just how many lines of code Google uses: a staggering 2 billion. To compare, Windows XP – one of the most successful operating systems ever – was compiled using just 45 million lines of code. The comparison is apt since the code in Windows compiles search, system folders and files, media, everything that makes Windows tick. Likewise, Google’s code operates search, YouTube, Android, Maps, Gmail, every Google internet service for that matter. “Though I can’t prove it,” Potvin told the crowd, “I would guess this is the largest single repository in use anywhere in the world.”

Well, that’s huge. To juggle all of this complexity, Google developed its own code repository akin to the popular Github developers regularly use to collaborate and share their apps. It’s version control system is called Piper, and helps Google’s 25,000 developers safely and efficiently edit and share code. Most of the code, besides search algorithms (pagerank) and Android, is openly accessible by any Google developer. This makes it very easy to start new apps or update when you have such a huge library at your fingertips.

More stats

  • 2 billion lines of code accessible from Piper which spans over 10 data centers. The main Facebook app spans upwards of 20 million lines, while the Linux open source operating spans 15 million lines of code across 40,000 software files.
  • Google stores code for its two device operating systems—Android and Chrome—on separate version control systems.
  • Piper spans about 85 terabytes of data
  • Google’s 25,000 engineers make about 45,000 commits to the repository each day.

Tags: Google

ShareTweetShare
Tibi Puiu

Tibi Puiu

Tibi is a science journalist and co-founder of ZME Science. He writes mainly about emerging tech, physics, climate, and space. In his spare time, Tibi likes to make weird music on his computer and groom felines. He has a B.Sc in mechanical engineering and an M.Sc in renewable energy systems.

Related Posts

Future

Everyone Thought ChatGPT Used 10 Times More Energy Than Google. Turns Out That’s Not True

byTibi Puiu
2 months ago
blocky image of minecraft
Future

An AI Called Dreamer Learned to Mine Diamonds in Minecraft — Without Being Taught

byTudor Tarita
4 months ago
Future

Google Trends data can predict football player’s market value

byFermin Koop
2 years ago
Computer Science & IT

What is a Chromebook and why you might love one

byAlexandra Gerea
2 years ago

Recent news

The UK Government Says You Should Delete Emails to Save Water. That’s Dumb — and Hypocritical

August 16, 2025

In Denmark, a Vaccine Is Eliminating a Type of Cervical Cancer

August 16, 2025
This Picture of the Week shows a stunning spiral galaxy known as NGC 4945. This little corner of space, near the constellation of Centaurus and over 12 million light-years away, may seem peaceful at first — but NGC 4945 is locked in a violent struggle. At the very centre of nearly every galaxy is a supermassive black hole. Some, like the one at the centre of our own Milky Way, aren’t particularly hungry. But NGC 4945’s supermassive black hole is ravenous, consuming huge amounts of matter — and the MUSE instrument at ESO’s Very Large Telescope (VLT) has caught it playing with its food. This messy eater, contrary to a black hole’s typical all-consuming reputation, is blowing out powerful winds of material. This cone-shaped wind is shown in red in the inset, overlaid on a wider image captured with the MPG/ESO telescope at La Silla. In fact, this wind is moving so fast that it will end up escaping the galaxy altogether, lost to the void of intergalactic space. This is part of a new study that measured how winds move in several nearby galaxies. The MUSE observations show that these incredibly fast winds demonstrate a strange behaviour: they actually speed up far away from the central black hole, accelerating even more on their journey to the galactic outskirts. This process ejects potential star-forming material from a galaxy, suggesting that black holes control the fates of their host galaxies by dampening the stellar birth rate. It also shows that the more powerful black holes impede their own growth by removing the gas and dust they feed on, driving the whole system closer towards a sort of galactic equilibrium. Now, with these new results, we are one step closer to understanding the acceleration mechanism of the winds responsible for shaping the evolution of galaxies, and the history of the universe. Links  Research paper in Nature Astronomy by Marconcini et al. Close-up view of NGC 4945’s nucleus

Astronomers Find ‘Punctum,’ a Bizarre Space Object That Might be Unlike Anything in the Universe

August 15, 2025
  • About
  • Advertise
  • Editorial Policy
  • Privacy Policy and Terms of Use
  • How we review products
  • Contact

© 2007-2025 ZME Science - Not exactly rocket science. All Rights Reserved.

No Result
View All Result
  • Science News
  • Environment
  • Health
  • Space
  • Future
  • Features
    • Natural Sciences
    • Physics
      • Matter and Energy
      • Quantum Mechanics
      • Thermodynamics
    • Chemistry
      • Periodic Table
      • Applied Chemistry
      • Materials
      • Physical Chemistry
    • Biology
      • Anatomy
      • Biochemistry
      • Ecology
      • Genetics
      • Microbiology
      • Plants and Fungi
    • Geology and Paleontology
      • Planet Earth
      • Earth Dynamics
      • Rocks and Minerals
      • Volcanoes
      • Dinosaurs
      • Fossils
    • Animals
      • Mammals
      • Birds
      • Fish
      • Amphibians
      • Reptiles
      • Invertebrates
      • Pets
      • Conservation
      • Animal facts
    • Climate and Weather
      • Climate change
      • Weather and atmosphere
    • Health
      • Drugs
      • Diseases and Conditions
      • Human Body
      • Mind and Brain
      • Food and Nutrition
      • Wellness
    • History and Humanities
      • Anthropology
      • Archaeology
      • History
      • Economics
      • People
      • Sociology
    • Space & Astronomy
      • The Solar System
      • Sun
      • The Moon
      • Planets
      • Asteroids, meteors & comets
      • Astronomy
      • Astrophysics
      • Cosmology
      • Exoplanets & Alien Life
      • Spaceflight and Exploration
    • Technology
      • Computer Science & IT
      • Engineering
      • Inventions
      • Sustainability
      • Renewable Energy
      • Green Living
    • Culture
    • Resources
  • Videos
  • Reviews
  • About Us
    • About
    • The Team
    • Advertise
    • Contribute
    • Editorial policy
    • Privacy Policy
    • Contact

© 2007-2025 ZME Science - Not exactly rocket science. All Rights Reserved.