Announcement

Collapse
No announcement yet.

Zapcc Caching C++ Compiler Open-Sourced

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Originally posted by pal666 View Post
    i see, you are using unusual definitions for 'recompilation' and 'first-time compilation'
    i guess your test will be improved by ccache even more
    I don't understand why you wrote "i guess your test will be improved by ccache even more". How is that related to sub-file granularity?

    Comment


    • #32
      Originally posted by discordian View Post
      pch are a pain and I haven't seen them used anywhere outside Visual Studio.
      We used them with GCC > 10 years ago. They were annoying. Much bigger than the .o files, as well (which could mitigate the performance gains, since this was prior to the era of modern SSDs). Tricky to decide exactly what to put in them. You could have only one PCH per source file, and it had to be the first file included.

      As I said, I'm not currently using them. Back then, we also had just single-core and a couple dual-core machines.
      Last edited by coder; 06-18-2018, 08:12 PM.

      Comment


      • #33
        Originally posted by caligula View Post

        When you do a clean install of Gentoo, this compiler optimization will cut the build time significantly.
        Could be the case, but 'aggressive caching' assumes that there is cache. Also it assumes, that I compile something more than once, which is generally not the case. So I fail to see how it will speed things up.

        Comment


        • #34
          Originally posted by dimko View Post

          Could be the case, but 'aggressive caching' assumes that there is cache. Also it assumes, that I compile something more than once, which is generally not the case. So I fail to see how it will speed things up.
          the system headers will be used (way) more than once, and those are cached, not in the sense of a file-cache but as ready to use data-structures after parsing. your sentence would be true for ccache, but this is different.

          Comment


          • #35
            Originally posted by discordian View Post
            the system headers will be used (way) more than once, and those are cached, not in the sense of a file-cache but as ready to use data-structures after parsing. your sentence would be true for ccache, but this is different.
            Oh... OK, thanks for clarification.

            Comment


            • #36
              Originally posted by caligula View Post

              When you do a clean install of Gentoo, this compiler optimization will cut the build time significantly.
              Which may happen once every 5-7 years or never, since it's 'install once use forever' system.

              Comment


              • #37
                Originally posted by dimko View Post

                Which may happen once every 5-7 years or never, since it's 'install once use forever' system.
                Not true when the cloud people want reproducible builds of stuff. There are other uses beside desktop/workstation.

                Comment


                • #38
                  Originally posted by caligula View Post

                  Not true when the cloud people want reproducible builds of stuff. There are other uses beside desktop/workstation.
                  I was specifically referring to Gentoo average user, which is me... I don't reinstall it for half decade easily. Can keep for longer, but hardware updates with incompatible CPU can be problem sometimes, or broken systemd/OpenRC(usual things can go wrong you know,,,)

                  Comment


                  • #39
                    Originally posted by dimko View Post

                    I was specifically referring to Gentoo average user, which is me... I don't reinstall it for half decade easily. Can keep for longer, but hardware updates with incompatible CPU can be problem sometimes, or broken systemd/OpenRC(usual things can go wrong you know,,,)
                    So people should stop developing software that YOU don't need? It might be unfortunate for YOU but people will keep improving compilers and stuff even though YOU don't care :-) They might even use distros and programming language YOU don't like.

                    Comment


                    • #40
                      Originally posted by caligula View Post
                      So people should stop developing software that YOU don't need?
                      Relax.

                      So, his original comment was a bit dismissive. What's the big deal?

                      Comment

                      Working...
                      X