• MobiusHorizons 8 hours ago

    I think a syntax example on the homepage would be a good idea. Also comparison charts for things like cmake, ninja, meson, and bazel. If you have a dependency finding strategy, highlight the pros and cons of that. Basically the only reason states for why I should use this is lua, and that’s not inherently compelling to me for build tooling.

    • lazypenguin 3 hours ago

      A teammate evaluated this and the experience was night and day compared to cmake + vcpkg. However, there wasn’t a lot of motivation to cutover our existing large project over because of the unknown unknowns. I think projects like these looking to dethrone the status quo definitely need some case studies or examples of larger projects using it to increase confidence because I’d much rather use xmake over cmake if it can get the job done

      • skavi 5 hours ago

        Just yesterday someone was telling me xmake does a lot of what bazel can do (hermetic, deterministic, optionally remote builds) while being easier to use.

        I took a look at the docs later and couldn’t find a direct comparison. But there does seem to be a remote build system. And there were a few mentions of sandboxing.

        Can anyone provide a head to head comparison?

        Does xmake strictly enforce declared dependencies? Do actions run in their own sandboxes?

        Can you define a target whose dependency tree is multi language, multi toolchain, multi target platform and which is built across multiple remote execution servers?

        • rhet0rica an hour ago

          I am deeply distressed that this doesn't require Xlib.

          • rienbdj 4 hours ago

            Can anyone explain xmake in terms of Build Systems a la Carte?

            • wsve 8 hours ago

              At my work we use MSBuild and vcpkg. What would a transition from that to XMake be like?

            • IshKebab 7 hours ago

              My work uses this and it's slooooooow. Would not recommend.

              • elitepleb 6 hours ago

                the command file generator is usually last to blame for a slow compile, making it output a cmake/ninja/make project would not speed up a poorly structured compilation tree at all

            • richrichardsson 5 hours ago

              I apologise for this:

              What's wrong with premake which is also Lua based?

              when I meant:

              What advantage does this have over premake which is also Lua based?

              • fsw 4 hours ago

                For one, the last official stable release of premake is from 2010.

                • rienbdj 4 hours ago

                  What’s wrong with xmake which is also Lua based?

                  • gjvc 4 hours ago
                    • richrichardsson 3 hours ago

                      I honestly didn't mean it like that, but I can understand that it comes across that way.

                      A better wording would be "what advantage does this have over premake which is also Lua based".

                      • nottorp 2 hours ago

                        Tbh, why does it matter what it's written in? Does it do the job?