Re:The Unreasonable Effectiveness of Makefiles
by klodolph on Friday August 12, 2022 @03:44PM
(#32443064)
That's definitely not true for:
- Most C++ or Rust projects
- Medium size or larger C projects
- Anything which is built with tools written in JavaScript (due to Node startup time overhead)
Stuff where a full build is close enough to instant:
- Most Java, C#, Go projects
- Small C projects
- Tiny/trivial C++ or Rust programs, or C++ programs written for embedded systems
This is just my experience. YMMV.
Re:The Unreasonable Effectiveness of Makefiles
by stjohnswarts on Friday August 12, 2022 @06:50PM
(#32444901)
any sizeable rust or c++ project is gonna take a while to compile in my experience? I tend to break things off into libraries that are faster to compile. Some of my coworkers don't like it but they learn to deal (c++)
Re:The Unreasonable Effectiveness of Makefiles
by klodolph on Friday August 12, 2022 @11:22PM
(#32446608)
> I tend to break things off into libraries that are faster to compile.
Yes, exactly. Incremental compilation! This is what Make is not good at.
Re:The Unreasonable Effectiveness of Makefiles
by UncleEntity on Friday August 12, 2022 @09:55PM
(#32446191)
Unless your modern machine isn’t very powerful because you value food and rent more.
I've found that to not matter that much these days - unless your projects is hundreds of thousands (or maybe millions even) of LOC, full builds are instant on modern machines.