{"id":82977,"date":"2017-03-04T10:17:46","date_gmt":"2017-03-04T15:17:46","guid":{"rendered":"http:\/\/rbachnet.wwwmi3-ss40.a2hosted.com\/index.php\/"},"modified":"2022-03-19T17:29:33","modified_gmt":"2022-03-19T21:29:33","slug":"how-much-code-does-it-take","status":"publish","type":"post","link":"https:\/\/rbach.net\/index.php\/how-much-code-does-it-take\/","title":{"rendered":"How Much Code Does It Take?"},"content":{"rendered":"<p><a href=\"https:\/\/web.archive.org\/web\/20211025002448\/https:\/\/cacm.acm.org\/news\/166297-study-commerce-department-app-privacy-proposal-confuses-consumers\/fulltext\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-104601\" title=\"How Much Code Does It Take?\" src=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/man_scratching_head.jpg?resize=100%2C100&#038;ssl=1\" alt=\"How Much Code Does It Take?\" width=\"100\" height=\"100\" srcset=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/man_scratching_head.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/man_scratching_head.jpg?resize=75%2C75&amp;ssl=1 75w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/man_scratching_head.jpg?w=250&amp;ssl=1 250w\" sizes=\"auto, (max-width: 100px) 100vw, 100px\" \/><\/a><a title=\"David McCandless\" href=\"http:\/\/en.wikipedia.org\/wiki\/David_McCandless\" target=\"_blank\" rel=\"nofollow noopener wikipedia noreferrer\">David McCandless<\/a> from <a href=\"http:\/\/www.informationisbeautiful.net\/books\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Information is Beautiful<\/em><\/a> tries to <a href=\"http:\/\/www.informationisbeautiful.net\/visualizations\/million-lines-of-code\/\" target=\"_blank\" rel=\"noopener noreferrer\">answer<\/a> the question of how many millions of <strong>lines of code<\/strong> does it take to? For reference, the <em><a href=\"https:\/\/www.visualcapitalist.com\/millions-lines-of-code\/\" target=\"_blank\" rel=\"noopener noreferrer\">Visual Capitalist<\/a> <\/em>calculates that a million lines of code (<a href=\"http:\/\/www.aivosto.com\/project\/help\/pm-loc.html\" target=\"_blank\" rel=\"noopener noreferrer\">MLOC<\/a>), if printed, would be about 18,000 pages of text. That\u2019s 14x the length of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Leo_Tolstoy\" target=\"_blank\" rel=\"noopener noreferrer\">Leo Tolstoy&#8217;s<\/a> <a href=\"https:\/\/en.wikipedia.org\/wiki\/War_and_Peace\" target=\"_blank\" rel=\"noopener noreferrer\"><em>War and Peace<\/em><\/a>. The<strong> total lines of code to run systems<\/strong> vary widely as Mr. McCandless shows in the infographic.<\/p>\n<ul>\n<li><a href=\"http:\/\/www.philnel.com\/2010\/10\/14\/procrastigrading\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-104604 size-medium\" title=\"Stack of paper\" src=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/stack-of-papers.jpeg?resize=80%2C150&#038;ssl=1\" alt=\"Stack of paper\" width=\"80\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/stack-of-papers.jpeg?resize=80%2C150&amp;ssl=1 80w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/stack-of-papers.jpeg?resize=40%2C75&amp;ssl=1 40w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/stack-of-papers.jpeg?w=400&amp;ssl=1 400w\" sizes=\"auto, (max-width: 80px) 100vw, 80px\" \/><\/a>It took less than a million lines of code to run the <a href=\"https:\/\/www.nasa.gov\/\" target=\"_blank\" rel=\"noopener noreferrer\">NASA<\/a> <a href=\"https:\/\/www.nasa.gov\/audience\/forstudents\/k-4\/stories\/nasa-knows\/what-is-the-space-shuttle-k4.html\" target=\"_blank\" rel=\"noopener noreferrer\">Space Shuttle<\/a>.<br \/>\n\u2022 The\u00a0<a href=\"https:\/\/twitter.com\/MarsCuriosity?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor\" target=\"_blank\" rel=\"noopener noreferrer\">Mars Rover Curiosity<\/a> takes less than 5 million lines of code to run.<br \/>\n\u2022 The latest version of the <a href=\"https:\/\/www.mozilla.org\/en-US\/firefox\/desktop\/\" target=\"_blank\" rel=\"noopener noreferrer\">Firefox web browser<\/a> includes just under 10 million lines of code.<br \/>\n\u2022 <a title=\"General Motors\" href=\"http:\/\/www.gm.com\/\" target=\"_blank\" rel=\"homepage noopener noreferrer\">General Motors&#8217;<\/a> (<a title=\"NYSE : GM\" href=\"https:\/\/www.google.com\/finance?q=NYSE:GM\" target=\"_blank\" rel=\"noopener noreferrer\">GM<\/a>) <a href=\"http:\/\/www.chevrolet.com\/volt-electric-car.html\" target=\"_blank\" rel=\"noopener noreferrer\">Chevy Volt <\/a>requires just over 10 million lines of code.<br \/>\n\u2022 <a title=\"Microsoft\" href=\"http:\/\/www.microsoft.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft<\/a> (<a title=\"NASDAQ | MSFT\" href=\"https:\/\/www.google.com\/finance?cid=358464\" target=\"_blank\" rel=\"noopener noreferrer\">MSFT<\/a>) <a title=\"Microsoft Office 2008 for Mac\" href=\"http:\/\/en.wikipedia.org\/wiki\/Microsoft_Office_2008_for_Mac\" target=\"_blank\" rel=\"nofollow noopener wikipedia noreferrer\">Office 2008<\/a> for the\u00a0<a title=\"Apple Computers\" href=\"http:\/\/www.apple.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Apple<\/a> (<a title=\"NASDAQ : AAPL\" href=\"https:\/\/www.tradingview.com\/symbols\/NASDAQ-AAPL\/\" target=\"_blank\" rel=\"noopener noreferrer\">AAPL<\/a>) Mac consists of over 35 million lines of code.<br \/>\n\u2022 And it took 50 million lines of code to bring us <a href=\"https:\/\/web.archive.org\/web\/20170218012604\/http:\/\/www.computerworld.com\/article\/2956577\/microsoft-windows\/so-long-vista-its-been-good-to-know-yah.html\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Vista<\/a>.<br \/>\n\u2022 Finally, all <a title=\"Google\" href=\"https:\/\/www.google.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google<\/a> (<a title=\"NASDAQ : GOOG\" href=\"https:\/\/www.tradingview.com\/symbols\/NASDAQ-GOOG\/\" target=\"_blank\" rel=\"noopener noreferrer\">GOOG<\/a>) services combine for a whopping 2 billion lines \u2013 that means it would take 36 million pages to \u201cprint out\u201d all of the code behind all Google services. That would be a stack of paper 2.2 miles high!<\/li>\n<\/ul>\n<p><a href=\"https:\/\/informationisbeautiful.net\/visualizations\/million-lines-of-code\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-104607\" title=\"Information is Beautiful Infographic\" src=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Lines_of_code.png?resize=400%2C1464&#038;ssl=1\" alt=\"Information is Beautiful Infographic\" width=\"400\" height=\"1464\" srcset=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Lines_of_code.png?resize=280%2C1024&amp;ssl=1 280w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Lines_of_code.png?resize=41%2C150&amp;ssl=1 41w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Lines_of_code.png?resize=768%2C2810&amp;ssl=1 768w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Lines_of_code.png?w=960&amp;ssl=1 960w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Lines_of_code.png?w=1440&amp;ssl=1 1440w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><br \/>\n<em><a title=\"Ralph Bach\" href=\"https:\/\/rbach.net\/index.php\/new-resume\/\" target=\"_blank\" rel=\"noopener noreferrer\">Ralph Bach<\/a>\u00a0has been in IT long enough to know better and has blogged from his\u00a0<a title=\"Bach Seat\" href=\"https:\/\/rbach.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Bach Seat<\/a> about IT, careers, and anything else that catches his attention since 2005. You can follow him on <a class=\"broken_link\" href=\"http:\/\/www.linkedin.com\/in\/rb48334\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">LinkedIn<\/a>,\u00a0<a href=\"https:\/\/www.facebook.com\/ralph.bach.14\" target=\"_blank\" rel=\"noopener noreferrer\">Facebook<\/a>,\u00a0and\u00a0<a href=\"https:\/\/twitter.com\/rbach48334\" target=\"_blank\" rel=\"noopener noreferrer\">Twitter<\/a>. Email the Bach Seat\u00a0<a href=\"mailto:\/\/bach.seat@gmail.com\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Information is Beautiful show how many million lines of code (MLOC) it takes to make things work<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[2990,420,101,32,2695,368,536,92,82,2867,421,242,2866],"class_list":["post-82977","post","type-post","status-publish","format-standard","hentry","category-business","tag-2990","tag-aapl","tag-apple","tag-business","tag-curiosity-rover","tag-general-motors","tag-goog","tag-google","tag-microsoft","tag-mloc","tag-msft","tag-nasa","tag-programming"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/posts\/82977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/comments?post=82977"}],"version-history":[{"count":6,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/posts\/82977\/revisions"}],"predecessor-version":[{"id":131039,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/posts\/82977\/revisions\/131039"}],"wp:attachment":[{"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/media?parent=82977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/categories?post=82977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/tags?post=82977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}