[kwlug-disc] cobbling together a baz

Doug Moen doug at moens.org
Wed Sep 14 20:30:14 EDT 2022


As much as possible, I'd like baz to be just a thin layer on top of existing technology. Don't reinvent wheels.

Zig for sure. As for the build system, my experience with cmake causes me to want to look elsewhere. Cmake supports C/C++, but I don't think it supports other languages like Zig and Rust.

The build system I want to investigate next is `xmake.io`, because it advertises many the features I'm looking for. It supports all the popular open source toolchains (gcc, clang, rust, zig, go, ...) and all the popular package registries (Rust's cargo.io, etc). I haven't seen anything else with xmake's feature set so far. Like a multilingual `cargo`.

Also, xmake is designed to be lightweight, with few dependencies, and embeddable in a C program. I want to be able to build and distribute baz using itself, maybe as a single executable, so those are nice properties.

On Wed, Sep 14, 2022, at 1:34 AM, Chris Frey wrote:
> While watching the Baz & Bazaar talk, it occurred to me that the
> objectives of baz could almost be met with the combination of:
>
> 	Zig C and C++ compilers for its cross-compile support
> 	cmake for its knowledge of "everything"
> 	cpack and its generators for cross-platform native packages
>
> The pieces feel like they are there, just haven't been properly
> assembled yet.
>
> - Chris
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org




More information about the kwlug-disc mailing list