Skip to content

Thoughts on samurai? #372

@N-R-K

Description

@N-R-K

Samurai is a reimplementation of ninja in C. It feels a lot closer in spirit of w64dk than the official ninja implementation. It's used as the default ninja provider in alpine (which I use for chroot/sandbox dev env) and I haven't run into any issue with it there.

Although going through it's README, it seems to expect quite a bit of POSIX-ism and windows support doesn't seem to be first class (?). Admittedly I did not try samurai on windows, so I can't tell how well it would or wouldn't work on windows/w64dk.

Also worth noting that muon - which does have first class windows support - ships with a samurai fork that patches samurai to use muon's "platform layer". Not sure if it's worth trying to pluck it out so that the fork can be compiled as a standalone binary.

(As an aside, muon is fairly well written with lots of "handmade" tech like platform layer, arena etc. I don't quite like meson, but if meson support is ever needed in w64dk, it could be worthwhile candidate to consider).


Not quite related to this issue, but I'm also thinking that llama.mak is probably useless now that w64dk ships with cmake+ninja? Or is there any reason to still maintain it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions