top | item 40263472

(no title)

d99kris | 1 year ago

Xmake gets posted here once in a while, here are some previous discussions:

https://news.ycombinator.com/item?id=19610459

https://news.ycombinator.com/item?id=22583147

https://news.ycombinator.com/item?id=30696061

discuss

order

cbolton|1 year ago

Thanks, I was curious what are the main differences to Meson (the only general build system so far that I enjoyed using). From these past discussions I gathered:

Xmake's biggest advantage: it's a single binary (vs Meson requiring Python)

Meson's biggest advantage (aside from popularity): it's a declarative DSL rather (vs including a full-blown programming language like Lua in Xmake)

(The second point is subjective, I know some think that including a full programming language is a strength but to my eyes it's a downside that largely outweighs the Python dependency.)

ghosty141|1 year ago

> Meson's biggest advantage (aside from popularity): it's a declarative DSL rather

I personally don't consider this an advantage. We've ran into the limitations of a DSL way too often at work and at this point I prefer just having a plain programming language as an interface. This way you don't have to learn a custom DSL with its own quirsk, you always have the escape hatch of just writing custom code, and it tends to be less quirky.