The only build system that might someday replace make (2010)
Ohhh the tragedy of build systems... Maybe the best example of meta technical debt on the planet, for so many canonical reasons that technical debt emerges in general. Top reasons no software engineering team fixes this:<p>The build system will not directly improve the end product.  So no company wants to pay for it &#x2F; use the time.<p>Due to the previous reason, a build system is not a compelling value proposition as a product (except for speed, see next)<p>Hardware&#x2F;cloud technology has progressed fast enough that raw horsepower can be thrown at a slow build system with reasonably good results.<p>The ubiquity of legacy build systems makes integrating anything new extremely painful.  Almost no software project these days is free from non-trivial dependencies that will certainly be using a legacy build system. Again, for any project team, this pain and extra effort cannot be justified as it doesn&#x27;t make a difference to the end customer.<p>Engineers hate arbitrary syntax changes with respect to some scripting language when there is equivalent common practice.  This goes for new general purpose languages too (entirely separate rant, but what is the point of arbitrarily changing the most widely known, generic C-style syntax of a function call? What value does it provide not to just re-use the return_type name(arguments) pattern that 99%+ of all programmers must already know?  What is the return on the cognitive load???)<p>Most engineers simply don&#x27;t care.  They aren&#x27;t interested.  They click a green arrow or type &quot;make&quot; as a ritual and then wait for what they care about, which is the end-result. The only time anyone cares is when it has to be setup for the first time, or when it breaks.  Everyone at this time will moan and say &quot;this could be better, this build system sucks, we should make a better one&quot;, but once it is setup&#x2F;fixed, everyone rapidly forgets about it never to return.<p>It is not a sexy problem.  Telling anyone outside of software engineers that you made this awesome build system is pointless - they won&#x27;t even understand the premise of the problem.  In fact, interviewing recent CS grads, even they don&#x27;t really know what a build system is.<p><pre><code>  - If you think about it for a moment, these sort of reasons are the harbingers of technical debt.  
</code></pre>
The primary one is not having a <i>direct</i> contribution to the end-goal.  Obviously old-salt engineers know a good build system will save thousands upon thousands of hours in the long run.  Just ask anyone that had to deal with a make system where dependencies were defined properly and -j couldn&#x27;t be used.  Or had to work with a system where incremental re-builds didn&#x27;t work.  Or spend half a day debugging in the bowels of a legacy build system.<p>Another key attribute of this kind of problem is that it is deceptively complex.  Similar to how everyone tries to re-invent logging frameworks and message queue frameworks only to discover that the perfect solution is a unicorn - a white whale.  The deficits in the other implementations were actually trade-offs, not architectural flaws that some inferior engineers overlooked.<p>My own recent experience with this topic was learning YOCTO+bitbake, and maybe similarly build root.  Working with embedded systems, I was so optimistic that finally a build system came along that would wrangle the workflow of source code -&gt; image -&gt; flash.  Could something finally provide full bi-directional dependency mapping between and image and source code?  Could I look at a binary in build output and instantly discover what source went into that file, what scripts&#x2F;rules created, what decided to put it in that filesystem location in the output?  No.  It improved many things significantly, especially when it comes to configuration management for custom Linux, but in the end you have to learn an entirely new (arbitrarily different) scripting syntax just to end up with something that is essentially as complex and daunting as a custom make-based system.  Never-mind trying to set something up from scratch - it would be an entire project in itself if you didn&#x27;t have the base provided by poke or  the hardware manufacturer.<p>Anyways, build systems are a fascinating meta-topic in software engineering. My guess is that in 50 years, most software will still be built by make. And petabytes of bandwidth and megawatts of electricity per day will still be used to send &quot;HTTP&#x2F;1.1 200 OK\r\n&quot; in ASCII plaintext as if the computer on the other end is reading the response aloud to a human being.  Another tale of technical debt born of legacy compatibility and brute force compensation.