News for hackers. Stuff that matters.
Re:Samurai: Ninja-compatible build tool written in C by plorkyeran on Sunday August 14, 2022 @01:06AM (#32456512)
Why would I want to use this instead of ninja? It’s apparently a drop-in replacement but it doesn’t say what it’s trying to do better than the original.
Re:Samurai: Ninja-compatible build tool written in C by ori_b on Sunday August 14, 2022 @02:47AM (#32457028)
The code is readable and maintainable, and can be used in the Linux distro that the author maintains without pulling in a huge number of dependencies to build a C++ compiler.

https://github.com/oasislinux/oasis

https://sr.ht/~mcf/cproc/

Re:Samurai: Ninja-compatible build tool written in C by BaculumMeumEst on Sunday August 14, 2022 @02:51AM (#32457046)
“written in C99 with a focus on simplicity, speed, and portability” is what appears to differentiate it from ninja. if that sounds interesting you should check it out and if not skip it
Re:Samurai: Ninja-compatible build tool written in C by plorkyeran on Sunday August 14, 2022 @10:37AM (#32459606)
Ninja is already fast, simple, and portable, so those aren’t differentiating factors. It appears to just be ninja but written in a different programming language.
Re:Samurai: Ninja-compatible build tool written in C by eska on Sunday August 14, 2022 @07:23AM (#32458359)
It not depending on Python seems useful for non-Python ecosystems.
Re:Samurai: Ninja-compatible build tool written in C by toastal on Sunday August 14, 2022 @02:32AM (#32456953)
Probably for teams that fight for honor and need an armored defense bonus to withstand medium to heavy attacks