Original title: I Wanted to Write It in C++
Article
A longtime C++ ecosystem contributor chose Rust for Runvil, an open-source AI prompt runtime, gateway, plugin system, and desktop IDE, because Rust’s package ecosystem enabled rapid cross-platform delivery. Cargo supplied interoperable libraries for async networking, TLS, schemas, serialization, sandboxing, webviews, and MCP, whereas C++ required fragmented build systems, missing standard facilities, and custom integration. The author argues that memory safety is important but does not solve C++’s broader ecosystem problem, which also limits AI-assisted development and leaves C++ mainly in infrastructure layers beneath newer tools. They criticize WG21’s focus on standardizing std::execution before completing practical coroutine networking, citing complexity, allocation issues, interoperability problems, and stalled implementation. They advocate developing C++20 coroutine libraries, shared web and AI components, project templates, dependency automation, and independent safety tooling in user space rather than waiting for future ISO standards.
Comments broadly agree that C++ suffers from package-management and library-composition problems, while noting that C has similar weaknesses and that standardizing APIs and behavior may be preferable to standardizing libraries. Several commenters find sender-receiver abstractions overly complex and prefer ordinary coroutines, often paired with custom event loops or io_uring. Some suggest Nix as an unofficial package-management solution, while others argue that vcpkg needs greater adoption and improvement. Views on Rust are mixed: some appreciate its ecosystem and default use by coding agents, while others found its GUI bindings immature and prefer existing C++ or Python code protected by audits. Several commenters question whether C++ should imitate newer languages or whether AI-assisted development makes migration unnecessary. Others nostalgically attribute today’s ecosystem gaps to decades of minimal standard-library design and fragmented adoption, while some dismiss C++ as obsolete.