#[1]The HFT Guy » Feed [2]The HFT Guy » Comments Feed [3]The HFT Guy »
  What takes longer to build, Windows or the Great Pyramid? Comments Feed
  [4]The demise of docker and the rise of kubernetes [5]Why products are
  shutdown? The case of Verizon and Yahoo Groups. [6]alternate
  [7]alternate [8]The HFT Guy [9]WordPress.com

  [10]Skip to content

  (BUTTON) Open Menu
    * [11]Home
    * [12]About Me
    * [13]Contact
    * [14]Privacy Policy

[15]The HFT Guy

A developer in London

  [16]tech

What takes longer to build, Windows or the Great Pyramid?

  [17]29 October 201911 November 2019 [18]thehftguy[19]Leave a comment

  Skip to third sections for charts.

  On the one hand, the [20]Great Pyramid, one of [21]the 7 Wonders of the
  world, built thousands of years ago.

  On the other hand, Microsoft Windows, the operating system running
  computers around the world.

  Let’s measure how much effort they took to build. The “effort” as a
  project management term is a unit measured in man*years. It’s self
  explanatory, it’s how many people worked on a project times how many
  years they worked.

  For example if a project takes 2 years for 10 people, the project is
  said to take 20 man years.

The Great Pyramid

  The construction of the Great Pyramid has been the subject of much
  interests. There are a few estimates available in books and research
  publications.

  One estimate featured in the [22]June 1999 Civil Engineering Magazine.

    The total labor expended is 36.7 million days, or approximately
    131,200 man-years. Thus the average labor force over the 10-year
    duration of the project is therefore 13,200 men.

  A second estimate published in German, 1993, by Heribert Illig and
  Franz Löhner “Der Bau der Cheops-Pyramide“. With further information on
  a website, going into great details about the constructions of
  pyramids. Highly recommended if you have an afternoon to waste. [23]How
  many workers are necessary to build Khufu’s pyramid?

    “Rough calculations give a total number of 6700 workers for the
    construction of Khufu’s pyramid. […] The calculations are based on
    the minimum of workers necessary to finish the pyramid in 20 years
    time.“

  Workers were not slaves contrary to a popular belief. Most of those
  were highly skilled craftsmen and artisans, not unlike the numerous
  people working on Windows.

  Both estimates are comparable in total effort, except one aims for
  completion in 10 years and the other in 20 years.

  We’ll note that a pyramid seems to be a relatively concurrence-friendly
  task, numerous workers can cut and transport stones in parallel, unlike
  developers trying to work on the same feature in the same codebase.

Microsoft Windows

  How much effort did it take to build Windows? There is limited public
  information available on that, however we can find out how many lines
  of code it is made of and work from there.

  There is a cost estimation model called [24]CoCoMo to estimate the
  effort to complete a project (see [25]wikipedia for an introduction).
  It can be used to estimate the duration of a project with the amount of
  people needed and the amount of lines of code created.

  Given a completed project, it’s possible to use the model the other way
  around to estimate how much effort went into it. From a practical
  standpoint, that’s what it would take to redo the project from scratch.

  Short version:
Effort [man*months] = 2.8 * ( KLOC ^ 1.2 )
Development Time (months) = 2.5 * ( Effort ^ 0.32 )
Average People Required = Effort / Development Time
KLOC = thousands of lines of code

  The constants can be adjusted based on the type of project, we take the
  hardest constants here since Windows is a very large project with tight
  constraints. It might genuinely be one of the most complex software in
  existence, with Office and Visual Studio somewhere in the vicinity.

How many lines of code in Windows?

  There is a helpful chart with lines of code and sizes of the teams
  working on Windows in the book “[26]The Build Master (amazon)“. Extract
  of the numbers [27]here.
  Ship Date Product Dev Team Size Test Team Size Lines of Code
  Jul-93 NT 1.0 (released as 3.1) 200 140 4-5 million
  Sep-94 NT 2.0 (released as 3.5) 300 230 7-8 million
  May-95 NT 3.0 (released as 3.51) 450 325 9-10 million
  Jul-96 NT 4.0 (released as 4.0) 800 700 11-12 million
  Dec-99 NT 5.0 (Windows 2000) 1400 1700 29+ million
  Oct-01 NT 5.1 (Windows XP) 1800 2200 40 million
  Apr-03 NT 5.2 (Windows Server 2003) 2000 2400 50 million

  For Vista (2007) and Windows 7 (2009), it’s 50M and 40M respectively as
  reported by [28]multiple sources.

  One minor issue, lines of code are going down from Vista onward. A
  straight comparison would show that Windows 7 took less effort to
  develop than Windows Vista, which is absurd. Let’s consider what the
  estimate means, it’s what the development could have been if the
  project started from scratch. Of course development didn’t start from
  scratch but continued from what already existed.

  Removing lines of code in an ancient large codebase is similar work as
  adding new lines, possibly harder, so we will factor this as +10M lines
  instead of -10M for estimation purposes.
  KLOC = 1000 lines of code

Charts

  Here’s the numbers.

  The Great Pyramid stands at 131200 and 13400 man years as per the two
  research papers.

Conclusion

  Microsoft Windows took more work to build than the great pyramid. It
  reached parity somewhen around Windows 7 (2009) and has surpassed it
  since.

  This should illustrate the incredible complexity that goes into
  software. Software are the largest and most complex constructions
  created by mankind so far.

  This ought to put things in perspective. Companies and developers are
  notoriously struggling to plan projects and execute within some time
  and budget. No wonder. It takes hard work to build [DEL: a pyramid
  :DEL] software.

  To conclude, next time you hear a developer saying one could have built
  this or that in a month, refer to this article and ask back if one
  could build a pyramid in a year? Not a chance.

Share this article:

    * [29]Click to share on Twitter (Opens in new window)
    * [30]Click to share on Reddit (Opens in new window)
    * [31]Click to share on Facebook (Opens in new window)
    * [32]Click to share on LinkedIn (Opens in new window)
    * [33]Click to share on Hacker News (Opens in new window)
    * [34]Click to email this to a friend (Opens in new window)
    * [35]More
    *

    * [36]Click to share on Pinterest (Opens in new window)
    * [37]Click to share on Pocket (Opens in new window)
    *
    * [38]Click to share on Telegram (Opens in new window)
    * [39]Click to share on WhatsApp (Opens in new window)
    *
    * [40]Click to share on Skype (Opens in new window)
    * [41]Click to share on Tumblr (Opens in new window)
    *
    * [42]Click to print (Opens in new window)
    *

Like this:

  Like Loading...

  [43]CoCoMo, [44]Microsoft Windows, [45]Project Management

Post navigation

  Previous Post
  The demise of docker and the rise of kubernetes
  Next Post
  Why products are shutdown? The case of Verizon and Yahoo Groups.

Leave a Reply [46]Cancel reply

  Enter your comment here...

  ____________________________________________________________
  ____________________________________________________________
  ____________________________________________________________
  ____________________________________________________________

  Fill in your details below or click an icon to log in:
    *
    *
    *
    *

  [47]Gravatar
  Email (required) (Address never made public)
  ____________________
  Name (required)
  ____________________
  Website
  ____________________
  WordPress.com Logo

  You are commenting using your WordPress.com account. ( [48]Log Out /
  [49]Change )
  Google photo

  You are commenting using your Google account. ( [50]Log Out /
  [51]Change )
  Twitter picture

  You are commenting using your Twitter account. ( [52]Log Out /
  [53]Change )
  Facebook photo

  You are commenting using your Facebook account. ( [54]Log Out /
  [55]Change )
  [56]Cancel

  Connecting to %s

  [ ] Notify me of new comments via email.

  [ ] Notify me of new posts via email.

  Post Comment

Most Popular

    * [57]Technical Debt Doesn't Exist
      [58]Technical Debt Doesn't Exist
    * [59]Cracking the HackerRank Test: 100% score made easy
      [60]Cracking the HackerRank Test: 100% score made easy
    * [61]What takes longer to build, Windows or the Great Pyramid?
      [62]What takes longer to build, Windows or the Great Pyramid?
    * [63]How to present a GitHub project for your resume
      [64]How to present a GitHub project for your resume
    * [65]Why products are shutdown? The case of Verizon and Yahoo
      Groups.
      [66]Why products are shutdown? The case of Verizon and Yahoo
      Groups.
    * [67]The Most Remarkable Legacy System I Have Seen
      [68]The Most Remarkable Legacy System I Have Seen
    * [69]Will AirBnb Go Bankrupt? and When?
      [70]Will AirBnb Go Bankrupt? and When?

Recommended Books

  [71][docker-in-practice-cover.jpg]
  [72][buy1.gif]
  [73]Docker in Practice: This book is a gem to help you understand
  Docker and use it effectively.

Newsletter

  Follow this blog. Get news about the cloud and the latest devops tools.

  ____________________

  (BUTTON) Follow

Newest Articles

    * [74]Technical Debt Doesn’t Exist
    * [75]A Haven for Fraud and Stolen Cards… or How My Wife Was Forced
      to Quit Revolut
    * [76]The Differences Between Splunk, Kibana and Graylog.
    * [77]Amazon CodeGuru is Blatantly Taking Over CodeGuru
      From Microsoft
    * [78]Making beautifulsoup Parsing 10 times faster

Site Statistics

    * 1,683,294 views

  [79]Back to top


  ____________________________________________________________
  ____________________________________________________________
  ____________________________________________________________
  ____________________________________________________________
  Post to
  [80]Cancel Reblog Post

  Send to Email Address ____________________ Your Name
  ____________________ Your Email Address ____________________
  _________________________
  loading Send Email [81]Cancel
  Post was not sent - check your email addresses!
  Email check failed, please try again
  Sorry, your blog cannot share posts by email.

  IFRAME: [82]likes-master

  %d bloggers like this:

References

  Visible links
  1. https://thehftguy.com/feed/
  2. https://thehftguy.com/comments/feed/
  3. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/feed/
  4. https://thehftguy.com/2019/10/22/the-demise-of-docker-and-the-rise-of-kubernetes/
  5. https://thehftguy.com/2019/12/10/why-products-are-shutdown-the-case-of-verizon-and-yahoo-groups/
  6. https://public-api.wordpress.com/oembed/?format=json&url=https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/&for=wpcom-auto-discovery
  7. https://public-api.wordpress.com/oembed/?format=xml&url=https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/&for=wpcom-auto-discovery
  8. https://thehftguy.com/osd.xml
  9. https://s1.wp.com/opensearch.xml
 10. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#content
 11. https://thehftguy.com/
 12. https://thehftguy.com/about/
 13. https://thehftguy.com/contact/
 14. https://thehftguy.com/privacy-policy/
 15. https://thehftguy.com/
 16. https://thehftguy.com/category/tech/
 17. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/
 18. https://thehftguy.com/author/thehftguy/
 19. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#respond
 20. https://en.wikipedia.org/wiki/Great_Pyramid_of_Giza
 21. https://en.wikipedia.org/wiki/Seven_Wonders_of_the_Ancient_World
 22. https://web.archive.org/web/20070608101037/http://www.pubs.asce.org/ceonline/0699feat.html
 23. https://www.cheops-pyramide.ch/khufu-pyramid/pyramid-workers.html
 24. https://en.wikipedia.org/wiki/COCOMO
 25. https://en.wikipedia.org/wiki/COCOMO
 26. https://www.amazon.com/gp/product/0321332059/ref=as_li_tl?ie=UTF8&tag=thehftguy-20&camp=1789&creative=9325&linkCode=as2&creativeASIN=0984782850&linkId=0e94010fd1f41e26380e5e5a6540c1a9
 27. https://web.archive.org/web/20190124112049/http://www.knowing.net/index.php/2005/12/06/how-many-lines-of-code-in-windows/
 28. https://informationisbeautiful.net/visualizations/million-lines-of-code/
 29. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=twitter
 30. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=reddit
 31. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=facebook
 32. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=linkedin
 33. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=custom-1474241584
 34. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=email
 35. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/
 36. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=pinterest
 37. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=pocket
 38. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=telegram
 39. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=jetpack-whatsapp
 40. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=skype
 41. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/?share=tumblr
 42. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#print
 43. https://thehftguy.com/tag/cocomo/
 44. https://thehftguy.com/tag/microsoft-windows/
 45. https://thehftguy.com/tag/project-management/
 46. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#respond
 47. https://gravatar.com/site/signup/
 48. javascript:HighlanderComments.doExternalLogout( 'wordpress' );
 49. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/
 50. javascript:HighlanderComments.doExternalLogout( 'googleplus' );
 51. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/
 52. javascript:HighlanderComments.doExternalLogout( 'twitter' );
 53. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/
 54. javascript:HighlanderComments.doExternalLogout( 'facebook' );
 55. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/
 56. javascript:HighlanderComments.cancelExternalWindow();
 57. https://thehftguy.com/2020/08/26/technical-debt-doesnt-exist/
 58. https://thehftguy.com/2020/08/26/technical-debt-doesnt-exist/
 59. https://thehftguy.com/2016/07/13/cracking-the-hackerrank-test-google-to-the-rescue/
 60. https://thehftguy.com/2016/07/13/cracking-the-hackerrank-test-google-to-the-rescue/
 61. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/
 62. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/
 63. https://thehftguy.com/2016/10/24/heres-how-to-make-a-good-github-project-for-your-resume/
 64. https://thehftguy.com/2016/10/24/heres-how-to-make-a-good-github-project-for-your-resume/
 65. https://thehftguy.com/2019/12/10/why-products-are-shutdown-the-case-of-verizon-and-yahoo-groups/
 66. https://thehftguy.com/2019/12/10/why-products-are-shutdown-the-case-of-verizon-and-yahoo-groups/
 67. https://thehftguy.com/2020/07/09/the-most-remarkable-legacy-system-i-have-seen/
 68. https://thehftguy.com/2020/07/09/the-most-remarkable-legacy-system-i-have-seen/
 69. https://thehftguy.com/2020/03/23/will-airbnb-go-bankrupt-and-when/
 70. https://thehftguy.com/2020/03/23/will-airbnb-go-bankrupt-and-when/
 71. https://www.amazon.com/gp/product/1617292729/ref=as_li_tl?ie=UTF8&tag=thehftguy-20&camp=1789&creative=9325&linkCode=as2&creativeASIN=1617292729&linkId=c4ad46beda84877c74472c6bd8e8e173
 72. https://www.amazon.com/gp/product/1617292729/ref=as_li_tl?ie=UTF8&tag=thehftguy-20&camp=1789&creative=9325&linkCode=as2&creativeASIN=1617292729&linkId=c4ad46beda84877c74472c6bd8e8e173
 73. https://www.amazon.com/gp/product/1617292729/ref=as_li_tl?ie=UTF8&tag=thehftguy-20&camp=1789&creative=9325&linkCode=as2&creativeASIN=1617292729&linkId=c4ad46beda84877c74472c6bd8e8e173
 74. https://thehftguy.com/2020/08/26/technical-debt-doesnt-exist/
 75. https://thehftguy.com/2020/08/12/a-haven-for-fraud-and-stolen-cards-or-how-my-wife-was-forced-to-quit-revolut/
 76. https://thehftguy.com/2020/08/04/the-differences-between-splunk-kibana-and-graylog/
 77. https://thehftguy.com/2020/08/03/amazon-blatantly-taking-over-the-codeguru-trademark-from-microsoft/
 78. https://thehftguy.com/2020/07/28/making-beautifulsoup-parsing-10-times-faster/
 79. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#top
 80. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/
 81. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#cancel
 82. https://widgets.wp.com/likes/master.html?ver=20200826#ver=20200826

  Hidden links:
 84. https://thehftguy.com/
 85. https://thehftguy.com/2019/10/22/the-demise-of-docker-and-the-rise-of-kubernetes/
 86. https://thehftguy.com/2019/12/10/why-products-are-shutdown-the-case-of-verizon-and-yahoo-groups/
 87. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#comment-form-guest
 88. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#comment-form-load-service:WordPress.com
 89. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#comment-form-load-service:Twitter
 90. https://thehftguy.com/2019/10/29/what-was-harder-to-build-windows-or-the-great-pyramid/#comment-form-load-service:Facebook