Hacker GitHub

← All repos

michaelforney/samurai

View on GitHub ↗ ★ 1,066 C

ninja-compatible build tool written in C

19 mentions on Hacker News by 15 people: 9 stories, 10 comments · first 2017-11-03 · latest 2026-03-30

Mentions per year 19 mentions · busiest year 2020 (4)
20082026
  1. …of Ninja that's almost as fast yet easier to bootstrap needing only a C compiler. [1] https://github.com/michaelforney/samurai
  2. https://codeload.github.com/michaelforney/samurai/zip/refs/t... https://github.com/michaelforney/samurai/releases/expanded_a...
    comment by 1vuio0pswjnm7 · 2025-09-28 · in samurai ninja-compatible written in C99
  3. ▲ 2
    samurai ninja-compatible written in C99
    story by 1vuio0pswjnm7 · 2025-09-28 · 1 comment
  4. ▲ 2
    Samurai: Ninja-compatible build tool written in C
    story by doener · 2024-01-26 · 0 comments
  5. …instead of chromium or firefox ( https://www.netsurf-browser.org/ ) samurai instead of ninja ( https://github.com/michaelforney/samurai ) velox instead of Xorg ( https://github.com/michaelforney/velox ) netbsd-curses instead of ncurses (…
    comment by peter_d_sherman · 2024-01-26 · in Oasis – a small, statically-linked Linux system
  6. Samurai is a faster, drop-in replacement for ninja. https://github.com/michaelforney/samurai Edit: It someone writes a ninja-compatible tool in Rust, they must call it "ronin."
    comment by 1letterunixname · 2023-11-06 · in Ninja is enough build system
  7. ▲ 74
    Samurai: Ninja-compatible build tool written in C
    story by ducktective · 2022-08-14 · 25 comments
  8. …Or, better yet, use a faster^1 and more portable Ninja-compatible build utility written in C99. https://github.com/michaelforney/samurai 1. YMMV
    comment by 1vuio0pswjnm7 · 2022-08-08 · in Using Landlock to Sandbox GNU Make
  9. and we should not forget about the simple C (C99) re-implementation of ninja from M. Forney: https://github.com/michaelforney/samurai
    comment by sylware · 2022-03-25 · in N2: Alternative Ninja Implementation
  10. …but also I notice the CI uses samurai, a reimplementation of ninja with a similar motivation: https://github.com/michaelforney/samurai Ninja is in C++ so I am even more confused at Sanurai. Is this just an implementation-diversity thing?…
    comment by geofft · 2021-07-28 · in Moving SciPy to the Meson Build System
  11. You could probably post-process samurai (a rewrite of ninja into C) into a single-file: https://github.com/michaelforney/samurai
    comment by stormbrew · 2021-03-09 · in Debian Running on Rust Coreutils
  12. ▲ 2
    Samurai: Ninja-compatible build tool written in C99
    story by ingve · 2020-12-01 · 0 comments
  13. ▲ 1
    Samurai: A ninja-compatible build tool written in C
    story by fanf2 · 2020-10-27 · 1 comment
  14. …It's like a lil mini haiku OS (not to be confused with HaikuOS the open BeOS). - - - - Ooo! https://github.com/michaelforney/samurai > samurai is a ninja-compatible build tool written in C99 with a focus on simplicity, speed, and…
  15. ▲ 2
    Samurai: A ninja-compatible build tool
    story by mroche · 2020-01-14 · 0 comments
  16. I found samurai and it is indeed tiny! ~3400 lines was less than I was expecting for *.[ch] ! 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…
    comment by chubot · 2018-11-20 · in Mtime comparison considered harmful
  17. ▲ 3
    Ninja-compatible build tool written in C
    story by andrewchambers · 2018-02-13 · 0 comments
  18. ▲ 2
    Ninja-compatible build tool written in C
    story by andrewchambers · 2017-11-16 · 0 comments
  19. ▲ 2
    Ninja-compatible build tool written in C
    story by andrewchambers · 2017-11-03 · 0 comments