3 ms·
Someone rewrote ninja from scratch in C at one point and it's shockingly tiny. (No tests = no extra abstractions to make testing possible.)
by evmar 8y ago
Someone rewrote ninja from scratch in C at one point and it's shockingly tiny. (No tests = no extra abstractions to make testing possible.)
- chubot 8y agoI found samurai and it is indeed tiny! ~3400 lines was less than I was expecting for *.[ch] ! https://github.com/michaelforney/samurai https://github.com/michaelforney/samurai Ninja isn't too big though. It looks like about 13K of non-test code, which is great for a mature and popular project. Punting build logic to a higher layer seems to have been a big win :)