Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What do you do while building?

What do you do while building?

Scheduled Pinned Locked Moved The Lounge
question
56 Posts 31 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Dan Neely

    John M. Drescher wrote:

    5 external libraries daily.

    Is this a typo, or did you neglect to mention something? Your build time/sizes are still huge compared to anything I've done in C#. Do you know if it's just nonlinear scaling or something C++ish to blame. For diskspace it's a ~5x factor (2MB/kloc vs 11MB/kloc); For build times unless there're compiler errors mine builds in 7-40sec for a full rebuild (dunno why the variability; but it seems to go away if I collapse the number of projects down significantly) for a 2-18x difference (30-170kloc/minute vs 9.5-15.5kloc/minute (excluding the 3 big libaries)).

    The European Way of War: Blow your own continent up. The American Way of War: Go over and help them.

    A Offline
    A Offline
    Anna Jayne Metcalfe
    wrote on last edited by
    #43

    Large projects are pretty common in C++. Visual Lint is something like 230kLOC in 24 projects now, and takes about 10 mins to build on my W2k8 server box. You need about 5GB free for the binaries and intermediates (debug, release and retail configurations). FWIW the higher build times compared to C# are almost certainly largely due to the use of include files rather than binary imports (like the C# "using" keyword) in the language. There is a proposal to add a binary module linking capability to the language which will probably address this to an extent - but unfortunately it won't be in the next C++ Standard. If you knock out the system headers C++ implementation files compile very quickly. Then again, C++ is a far more complex language than C# (and compiles direct to native code rather than the rather idealised IL, which has an impact on build time too).

    Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

    1 Reply Last reply
    0
    • B bertvan

      I'm working on a project with a long build duration. How do you normally kill time when you return with your coffee and the build is still busy?

      U Offline
      U Offline
      urbane tiger
      wrote on last edited by
      #44

      Preferred Action : queue another build and go for a coffee or 2 to read book. Current read : The Buddha & Dr Fuhrer by Charles Allen. Nothing to do with Hitler, digging up Buddhist relics in 19th century India, good read. Normal Reality : arrive late for yet another decision free, where the f... are we, politically charged, rolling eyes, wink-wink, nudge-nudge, meeting, where I have no role to play, and where they won't even let me take the minutes - or read my book; biscuits are free, coffee's awful.

      Spike Mulligan is at WW2 Conscription intake centre. Officer asks "Where you born Mulligan". "India, sir", Mulligan briskly replies. "Which part" asks the officer. To which Spike replies "All of me, sir".

      1 Reply Last reply
      0
      • S Stuart Dootson

        bertvan wrote:

        How do you normally kill time when you return with your coffee and the build is still busy?

        Working out how to speed up the build... Cursing the numpty who didn't distribute their code in files so as to minimise build times... Then I get bored, start surfing t'Internet and come back later to find I've wasted 20 minutes after the build had finished...

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        M Offline
        M Offline
        Mohamed Meligy
        wrote on last edited by
        #45

        If this is a website using Visual Studio , then the key is to convert it to Web Application Model. If you are not clear on what I mean, check this: http://weblogs.asp.net/meligy/archive/2008/08/03/converting-vs-2008-website-to-web-application.aspx[^] Regards, -- Mohamed Meligy Information Analyst (.Net Technologies) – Applications Delivery - TDG Injazat Data Systems P.O. Box: 8230 Abu Dhabi, UAE. Phone: +971 2 6992700 Direct: +971 2 4045385 Mobile: +971 50 2623624 E-mail: eng.meligy@gmail.com Weblog: http://weblogs.asp.net/meligy

        S 1 Reply Last reply
        0
        • M Mohamed Meligy

          If this is a website using Visual Studio , then the key is to convert it to Web Application Model. If you are not clear on what I mean, check this: http://weblogs.asp.net/meligy/archive/2008/08/03/converting-vs-2008-website-to-web-application.aspx[^] Regards, -- Mohamed Meligy Information Analyst (.Net Technologies) – Applications Delivery - TDG Injazat Data Systems P.O. Box: 8230 Abu Dhabi, UAE. Phone: +971 2 6992700 Direct: +971 2 4045385 Mobile: +971 50 2623624 E-mail: eng.meligy@gmail.com Weblog: http://weblogs.asp.net/meligy

          S Offline
          S Offline
          Stuart Dootson
          wrote on last edited by
          #46

          Mohamed Meligy wrote:

          If this is a website using Visual Studio , then the key is to convert it to Web Application Model.

          :-) When I do build a website, I use Python+one of the many Python libraries for building websites (Turbogears is a current favourite) - no building involved, really. No, the building I'm talking about is many, many, many lines of C++, or (occasionally) Ada or Fortran, often using Makefiles rather than an IDE.

          Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

          1 Reply Last reply
          0
          • P PIEBALDconsult

            I'd rather grab a co-workwer and talk to a coffee.

            J Offline
            J Offline
            JasonD_S
            wrote on last edited by
            #47

            If only we weren't engineers, maybe this would be viable. Well, for those of us that are straight. :P

            1 Reply Last reply
            0
            • B bertvan

              I'm working on a project with a long build duration. How do you normally kill time when you return with your coffee and the build is still busy?

              B Offline
              B Offline
              Battlehammer
              wrote on last edited by
              #48

              I thought that's why The Code Project exists.

              1 Reply Last reply
              0
              • B bertvan

                I'm working on a project with a long build duration. How do you normally kill time when you return with your coffee and the build is still busy?

                J Offline
                J Offline
                Jordan Marr
                wrote on last edited by
                #49

                What kind of software are you writing that takes so long to build? :omg:

                1 Reply Last reply
                0
                • B bertvan

                  I'm working on a project with a long build duration. How do you normally kill time when you return with your coffee and the build is still busy?

                  J Offline
                  J Offline
                  Jim SS
                  wrote on last edited by
                  #50

                  I used to bring library books for when I was cross-compiling CMS-2 code on a VAX for AN/UYK-20 or 44 Navy computers. That was before the internet. :sigh: Now if I get a chance between builds (rarely) it's XKCD or CP.

                  SS => Qualified in Submarines "We sleep soundly in our beds because rough men stand ready in the night to visit violence on those who would do us harm". Winston Churchill "Real programmers can write FORTRAN in any language". Unknown

                  1 Reply Last reply
                  0
                  • S Stuart Dootson

                    bertvan wrote:

                    How do you normally kill time when you return with your coffee and the build is still busy?

                    Working out how to speed up the build... Cursing the numpty who didn't distribute their code in files so as to minimise build times... Then I get bored, start surfing t'Internet and come back later to find I've wasted 20 minutes after the build had finished...

                    Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                    P Offline
                    P Offline
                    patbob
                    wrote on last edited by
                    #51

                    Ditto here. I tried multitasking on software related things, but found I would loose too much mental context to make it effective. So I try to do other non-SW tasks, and at worst, keep a very close eye on the build progress so I can immediately switch back when it completes.

                    patbob

                    1 Reply Last reply
                    0
                    • B bertvan

                      I'm working on a project with a long build duration. How do you normally kill time when you return with your coffee and the build is still busy?

                      Y Offline
                      Y Offline
                      Yortw
                      wrote on last edited by
                      #52

                      Depending on how I'm feeling; 1. Work that doesn't require coding, i.e documentation, writing test cases etc, spec updates, design next piece of system, research better ways of doing something I know is coming up, reading email etc. 2. Hang out on code project or the MS forums and try to either learn something or help someone else.

                      1 Reply Last reply
                      0
                      • B bertvan

                        I'm working on a project with a long build duration. How do you normally kill time when you return with your coffee and the build is still busy?

                        F Offline
                        F Offline
                        firegryphon
                        wrote on last edited by
                        #53

                        I attempt to destroy someone else's productivity while mine is shot by the crappy computer I was given :)

                        1 Reply Last reply
                        0
                        • J Jacquers

                          http://xkcd.com/303/

                          J Offline
                          J Offline
                          JasonPSage
                          wrote on last edited by
                          #54

                          That was an awesome comic link!

                          Know way too many languages... master of none!

                          1 Reply Last reply
                          0
                          • P PIEBALDconsult

                            I'd rather grab a co-workwer and talk to a coffee.

                            J Offline
                            J Offline
                            JasonPSage
                            wrote on last edited by
                            #55

                            I second that: :D

                            Know way too many languages... master of none!

                            1 Reply Last reply
                            0
                            • B bertvan

                              I'm working on a project with a long build duration. How do you normally kill time when you return with your coffee and the build is still busy?

                              J Offline
                              J Offline
                              JasonPSage
                              wrote on last edited by
                              #56

                              Use Freepascal - it compiles and links in one pass - fast as heck. my c++ stuff always takes WAY longer and is more complicated in general (linking wise) than freepascal... I usually watch builds closely for errors. I also try to set things so that not everything is forced to recompile - just new changes. Now for twidling fingers? I read emails and follow up and occasionally end up here like many of the others kicking about.

                              Know way too many languages... master of none!

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups