News for hackers. Stuff that matters.
Re:SCons: A Software Construction Tool by yazr on Sunday June 09, 2019 @08:43AM (#20138811)
The main comment here seems to be sluggish performance.

Is it some sort O(n^2) rule handler deep inside the builder? Or is it just "python-slow" ? :/

Can someone give an example of a big open source project which is too slow to build?

Re:SCons: A Software Construction Tool by chadaustin on Sunday June 09, 2019 @11:43AM (#20139900)
I was on the original SCons team. It’s a lot of “python slow” but if someone build a daemonized version of the build graph that could be updated incrementally from filesystem change events it could be great. (A la Buck and Bazel)
Re:SCons: A Software Construction Tool by w0utert on Sunday June 09, 2019 @10:54AM (#20139598)
I think there’s a lot of exaggeration in the comments about SCONS being slow. We use it for a 300K LOC codebase, and while it is not as fast as cmake, it’s still perfectly serviceable. To be honest, for me the flexibility to do non-trivial customization of the build directly using Python code is well worth the somewhat slower performance. I always wonder what kind of build process people use if the overhead of the build system outweighs the compile time itself.
Re:SCons: A Software Construction Tool by ncmncm on Sunday June 09, 2019 @02:55PM (#20141090)
No, Scons really is dog-slow. How slow can be discovered by using the Ninja back-end plugin, with Ccache. Then it can be quite pleasant.

Of course if you only ever build from scratch, on one core, compile time will dominate, and you will wonder what the fuss is about.

Re:SCons: A Software Construction Tool by carlmr on Sunday June 09, 2019 @04:55PM (#20141847)
>I always wonder what kind of build process people use if the overhead of the build system outweighs the compile time itself.

Using Ninja as a benchmark, most of these higher level build systems take a lot of time to determine they have little to do, while ninja instantly determines this. The build performance rarely matters, the incremental build performance is where you waste a lot of time. Especially if you do TDD cycles.