3 ms·
and we should not forget about the simple C (C99) re-implementation of ninja from M. Forney: https://github.com/michaelforney/samurai https://github.com/michae
by sylware 5y ago
and we should not forget about the simple C (C99) re-implementation of ninja from M. Forney:
https://github.com/michaelforney/samurai https://github.com/michaelforney/samurai
- einpoklum 5y agoWhat are the benefits of the C implementation? I noticed the adherence to POSIX command-line conventions, but that doesn't sound like a good enough reason for a reimplementation in a different language.
- floatboth 5y agoI guess the ability to work in really restricted/minimal environments where you only have a simple C compiler like tcc, and nothing like LLVM. Or paranoid environments where you can only use CompCert. Something like that.
- einpoklum 5y agoBut can't you just cross-compile?
- floatboth 5y agoI'm not talking about embedded, I'm talking about e.g. intentionally minimalist systems that have to be self-building, or systems that have to be built with a formally verified compiler (which does not exist for C++), or anything else like that.