Craft: A Cargo-Like Build Tool for C and C++ Aims to Modernize Native Development

Available in: 中文
2026-04-09T22:08:22.683Z·2 min read
A developer has built Craft, a build tool for C and C++ that aims to bring the developer experience of Rust Cargo to native languages. The Show HN post has gained 94 points and 83 comments on Hacke...

Craft: A Cargo-Like Build Tool for C/C++ That Could Change How We Build Native Software

A developer has built Craft, a build tool for C and C++ that aims to bring the developer experience of Rust Cargo to native languages. The Show HN post has gained 94 points and 83 comments on Hacker News.

What Is Cargo

For non-Rust developers, Cargo is Rust build system and package manager that provides:

What Craft Does for C/C++

Craft brings similar capabilities to C and C++:

The C/C++ Build Problem

Building C and C++ projects has historically been painful:

ToolProblem
MakeComplex syntax, manual dependency tracking
CMakeVerbose configuration, steep learning curve
AutotoolsAncient, platform-specific, slow
BazelComplex, designed for Google-scale
MesonBetter but still requires Ninja backend

Community Discussion

The HN thread (83 comments) highlighted several perspectives:

Enthusiasm: Many C/C++ developers crave Cargo-like simplicity

Concerns: Fragmenting the C++ ecosystem with yet another build tool

Comparison with existing tools: Conan (package manager), vcpkg, Buck2, xmake

The real problem: C++ ABI compatibility makes dependency management fundamentally harder than Rust

Why This Matters

If Craft or similar tools succeed, they could:

Source: HN Show HN / GitHub — 94 points, 83 comments

↗ Original source · 2026-04-09T10:00:00.000Z
← Previous: The Future of Everything is Lies: Aphyr Essay on AI as Cultural Artifacts and the Crisis of MisunderstandingNext: Bitmap Fonts Make Computers Feel Like Computers Again: The Return of Pixel-Perfect Typography →
Comments0