Article may be outdated

This article is 54 days old. Some details may have changed since publication.

Hacker News·3 min read·hard

Show HN: Modern C++ Build Tools for Module Feature

S
sunrisepeak
Show HN: Modern C++ Build Tools for Module Feature
✦AI Summary

A new C++23 module-first build tool called 'mcpp' has been released, designed to simplify dependency management and module support for modern C++ development. The tool is self-hosted and aims to provide a seamless experience across major operating systems.

Why it matters

It offers a specialized solution for developers working with the latest C++ standards, potentially improving build efficiency and project modularity.

✦Dive DeeperCreate a free account to unlock

A modern C++ module-first build tool — written in pure C++23 modules, fully self-hosted

Native C++23 module support — import std handled automatically, file-level incremental builds, automatic module dependency analysis, zero manual configuration Pure modular self-hosting — mcpp itself consists of 43+ C++23 modules and builds itself; the module pipeline is battle-tested Works out of the box — one-command install, bundled GCC 16 / LLVM 20 toolchains downloaded into an isolated sandbox, never polluting your system Integrated dependency management — SemVer constraint resolution, lockfile, cross-project BMI cache, custom package indices Multi-package workspaces — unified lockfile and version management for larger projects Why mcpp mcpp is built specifically for C++23 module-first development . If you want to use import std , module interface units ( .cppm ), module partitions, and other modern C++ features in your project, mcpp gives you a smooth, friendly experience on Linux, macOS ARM64, and Windows x86_64:

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technology
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in