---
title: "The road to 'import boost': a library developer's journey into C++20 modules - Rubén Pérez Hidalgo"
url: https://daily.dev/posts/the-road-to-import-boost-a-library-developer-s-journey-into-c-20-modules---rub-n-p-rez-hidalgo-64yixoj16
source_url: https://www.youtube.com/watch?v=hD9JHkt7e2Y
type: video:youtube
source: "C++"
published: 2026-05-21T03:28:03.966Z
updated: 2026-05-21T03:28:27.447Z
tags: ["c", "c++", "build-systems"]
reading_time: 53
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The road to 'import boost': a library developer's journey into C++20 modules - Rubén Pérez Hidalgo

**[C\+\+](https://daily.dev/sources/isocpp)** · 53 min read · 0 upvotes · 0 comments

## Summary

A Boost library author (Boost.MySQL, Boost.Beast) shares hands-on experience attempting to support `import boost` using C++20 modules. The talk covers core module concepts (primary module interfaces, implementation units, partitions, BMIs, visibility vs reachability, module attachment, global module fragment discards), practical CMake integration with Clang, and the real-world challenges of modularizing existing header-heavy libraries like Boost.Asio. Build time measurements reveal that naively wrapping headers in modules can make things worse due to increased translation units and reduced parallelism. Three modularization styles are compared (re-export via using, ABI-breaking, export extern C++), with the conclusion that while modules offer real benefits (75% build time reduction for lightweight libraries), the tooling ecosystem is not yet production-ready and modules are not a silver bullet for template-heavy code.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=hD9JHkt7e2Y>

## Similar posts on daily.dev

- [Nibble Stew: We need to seriously think about what to do with C\+\+ modules](https://daily.dev/posts/nibble-stew-we-need-to-seriously-think-about-what-to-do-with-c-modules-oad4enc2k) · Lobsters · 3 upvotes · 1 comments
- [Nibble Stew: In C\+\+ modules globally unique module names seem to be unavoidable, so let's use that fact for good instead of complexshittification](https://daily.dev/posts/nibble-stew-in-c-modules-globally-unique-module-names-seem-to-be-unavoidable-so-let-s-use-that-f-yuyhtmvy5) · Lobsters · 0 upvotes · 0 comments

---

Tags: [#c](https://daily.dev/tags/c), [#c++](https://daily.dev/tags/c++), [#build-systems](https://daily.dev/tags/build-systems)

[View this post on daily.dev](https://daily.dev/posts/the-road-to-import-boost-a-library-developer-s-journey-into-c-20-modules---rub-n-p-rez-hidalgo-64yixoj16)
