• namingthingsiseasy@programming.devOP
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    2 days ago

    Having worked on large C++ projects, the solution to this issue is using a good IDE with an LSP. But it is quite a regrettable situation because setting up an LSP can be a difficult, and they also tend to break quite easily. Understanding how to make an LSP work is an important productivity skill in those kinds of positions.

      • namingthingsiseasy@programming.devOP
        link
        fedilink
        arrow-up
        2
        ·
        8 hours ago

        Interesting, I had never heard of ccache before, though yes, all good build systems (CMake, Ninja, etc.) should cache intermediate object files.

        But the projects I was working on were so large that even binary and unit test executables were so large that even they would take ~20 seconds to link. You can’t use caching to alleviate that buildtime cost unfortunately.