C++ Needs to Catch Up, and Fast vinniefalco.com · 89 points · 59 comments · HN t...
HN Best 200 @best
C++ Needs to Catch Up, and Fast vinniefalco.com · 89 points · 59 comments · HN thread
TL;DR Vinnie Falco, president of The C++ Alliance and a long-time Boost author, argues that C++ is losing ground because its library and package ecosystem does not compose, not because of memory safety. He describes building Runvil in Rust under deadline pressure, cites survey and ecosystem data, and critiques C++26's std::execution and task design while urging the community to build de facto standards in Boost libraries instead.
- Falco wrote Runvil, a 210,000-line Rust app with 45 crates, in about fifty days, because a C++ version was not schedulable alongside his other work; he says memory safety was not the reason.
- The MCP, OpenAI and Anthropic official SDK lists include no C++; the author attributes this to missing package managers, async HTTP, JSON and schema libraries rather than to language safety.
- Surveys cited show dependency management as the top C++ pain point (81.9% in the 2024 ISO survey, 45.4% rating it major), with only 11% of JetBrains 2025 respondents using vcpkg.
- The author argues LLMs amplify ecosystem richness rather than replacing it, citing benchmarks where agents fail more often on C/C++ repos than Rust repos.
- He criticizes std::execution (P2300) as unnecessary for standardization, citing that sender-based networking has no production deployment and that coroutine task design is split between two models.
- He proposes building C++20-coroutine-based libraries (Boost.Capy, Boost.Corosio) and shared vocabulary types in the open, outside the ISO process, and keeping safety work via hardened libraries and Profiles.
Discussion The thread mostly accepts the article's diagnosis that C++ dependency management is broken, and many commenters blame the ISO committee or the lack of a standard package workflow. Discussion splits over whether the fix is a package manager (vcpkg, Conan, Nix, submodules), better standard libraries, or abandoning C++ for Rust. The mood is pessimistic and somewhat sardonic about C++'s future, with a few defenders pointing to the language's entrenched role in embedded, games and infrastructure. Several comments engage with specific technical claims about coroutines and iostreams rather than the broader thesis.
- Package management and dependency friction are the core problem (many): Commenters agree that adding third-party libraries across platforms is the main pain. Some say vcpkg is improving but still Windows-centric, and others say the lack of a standard build system is the real gap.
- C++ is declining and should be replaced by Rust or other languages (some): Several commenters say C++ is a niche or dying language and that Rust's tooling and packaging make it the better choice for new work. Others note this is partly due to existing codebases.
- ISO committee and standardization process are harmful (some): Commenters argue that bureaucracy and standardizing immature libraries slow C++ down, and that open source shows standards bodies are not needed for good languages. Counterpoint: with several implementers, a standard was needed for interoperability.
- Coroutines are good but sender/receiver is overcomplicated (a few): One commenter with production coroutine experience says coroutines make sense while std::execution is a verbose mess. Another says generators and tasks are conflated in a way that causes lifetime issues.
- AI pushes toward languages with fast, strict feedback loops (a few): Commenters argue LLM-driven development favors languages with fast compile loops and strong types, which hurts C++ because builds are slow and errors are hard to read.
- C++ still matters for embedded, games, and infrastructure (some): Several commenters push back that C++ underpins a lot of critical software and will remain in use for decades, so calls to let it die are premature.
Links from the comments
#cpp #rust #packageManagers #standardization #coroutines #llm