Bravo! Granted, it's yet another make replacement the world really doesn't need . But that said, and unlike all the other attemps, this actually seems to be better than make. Almost always, these things are junk (Ant, I'm looking at you) which at best implement a subset of make's features in a "pure" way (and thus look good to people who don't understand make but like Java-or-whatever). This one actually seems to und…
yet another make replacement the world really doesn't need Didn't it start exactly like that with CMake? Turns out, the world needed it.
Ninja, a small build system with a focus on speed
11–20 of 36 posts
Re: Ninja, a small build system with a focus on speed
#12Earlier quoted context omitted.
yet another make replacement the world really doesn't need Didn't it start exactly like that with CMake? Turns out, the world needed it.
cmake is a replacement for autotools, not make. It generates makefiles as output.
Re: Ninja, a small build system with a focus on speed
#13Earlier quoted context omitted.
cmake is a replacement for autotools, not make. It generates makefiles as output.
Good point, although if autotools was invented to replace makefiles by generating them, I'd argue CMake was too, even if indirectly.
Makefiles solve a different problem; which is of local build dependencies, looking for changes, packaging and suchlike.
CMake, as it happens, was written because Autotools were particularly ineffecient at the configuration problem. Make happens to be very efficient.
Re: Ninja, a small build system with a focus on speed
#14I use tup: http://gittup.org/tup/ but I'd like to hear from the author of Ninja what his opinion is on tup.
(Saw in two places, reading mailing lists). LOL, And I'm brewing my own solution for brewing other people's solutions :)
Re: Ninja, a small build system with a focus on speed
#15That days I generated .ninja with shell scripts, so now I'm happy to hear of CMake support. Still sorry that ninja build system is not included in most Linux distros, I believe that would significantly increase its popularity among developers.
Re: Ninja, a small build system with a focus on speed
#16Re: Ninja, a small build system with a focus on speed
#17I use tup: http://gittup.org/tup/ but I'd like to hear from the author of Ninja what his opinion is on tup.
Does Ninja offer any of that? It doesn't seem to, judging from a skim of the docs.
Re: Ninja, a small build system with a focus on speed
#18Bravo! Granted, it's yet another make replacement the world really doesn't need . But that said, and unlike all the other attemps, this actually seems to be better than make. Almost always, these things are junk (Ant, I'm looking at you) which at best implement a subset of make's features in a "pure" way (and thus look good to people who don't understand make but like Java-or-whatever). This one actually seems to und…
That's the direction we've taken with ElectricAccelerator ( http://www.electric-cloud.com/products/electricaccelerator-d...) -- fix make, rather than cooking up Y.A.M.R. It hasn't (yet) fixed all of the issues with make, but it's hit some of the biggest.
(disclaimer: I'm the architect of ElectricAccelerator)
Re: Ninja, a small build system with a focus on speed
#19Bravo! Granted, it's yet another make replacement the world really doesn't need . But that said, and unlike all the other attemps, this actually seems to be better than make. Almost always, these things are junk (Ant, I'm looking at you) which at best implement a subset of make's features in a "pure" way (and thus look good to people who don't understand make but like Java-or-whatever). This one actually seems to und…
What surprises me is that nobody seems to take the approach of fixing make, as if it is somehow beyond redemption. With a little effort you could address some of the things that people most dislike about make (tabs-vs-spaces, multiple outputs per target). With a little more effort you can have up-to-date checks that don't rely solely on timestamps. That's the direction we've taken with ElectricAccelerator ( http://ww…
But all you need to do is look at the Linux kernel or Android AOSP build systems (both implemented almost entirely in make) to see what it's capable of. Do we really need something better, given the friction that variant build systems cause?
Re: Ninja, a small build system with a focus on speed
#20Earlier quoted context omitted.
What surprises me is that nobody seems to take the approach of fixing make, as if it is somehow beyond redemption. With a little effort you could address some of the things that people most dislike about make (tabs-vs-spaces, multiple outputs per target). With a little more effort you can have up-to-date checks that don't rely solely on timestamps. That's the direction we've taken with ElectricAccelerator ( http://ww…
I'll definitely take a look. I guess my feeling is that make, like some other tools (C++ comes to mind) happens to be Good Enough for what it does, despite its warts. Lots of new programmers get scared off by its weirdness and never really learn it. But all you need to do is look at the Linux kernel or Android AOSP build systems (both implemented almost entirely in make) to see what it's capable of. Do we really need…