I Wanted to Write It in C++
If anyone on earth had a bias toward writing a new network-heavy developer platform in C++, it was me.
I wrote Boost.Beast, the most-starred individual library in boostorg and the second most widely used library in Boost behind Boost.Asio. I co-created Boost.JSON and Boost.URL, and over the past year my team and I built Boost.Capy and Boost.Corosio (corosio.org), two C++20 coroutine-only I/O and networking libraries conditionally accepted into Boost in September 2026. As President of The C++ Alliance, I employ full-time GCC and Clang compiler engineers and serve as fiscal sponsor for Boost and the EDG C++ front end. My career, my friendships, and my resources are bound up in C++ succeeding - I love this language, and I want the next generation of builders to love it too.
Yet on July 28, 2026, when I sat down to build Runvil (cppalliance/runvil) - an open-source AI prompt runtime, inference gateway, plugin ABI, and desktop IDE under the Boost Software License - I wrote it in Rust.
Borrow checkers and memory safety had nothing to do with that choice. I had avoided Rust for years and badly wanted Runvil to be C++. What forced my hand was the calendar: I was building Runvil alongside WG21 standards papers, five books, compiler hires, fiscal sponsorships, and the Capy and Corosio Boost reviews. Shipping Runvil in C++ on top of that schedule would have been physically impossible.
Within fifty days, the workspace reached 45 crates, 210,000 lines of Rust, a strict TypeScript UI, and 3,400 tests across Windows, macOS, and Linux installers. It shipped a Markdown-and-Lua prompt Harness with deterministic replay, a Gateway unifying 23 cloud providers with local GGUF models and live voice, a Workshop IDE, and hot-loadable plugins over a C99 and C++ ABI - with unsafe denied by default workspace-wide (confined strictly to audited FFI boundaries), and unwrap and expect denied everywhere by cargo, clippy, and custom AST lints.
Coding agents typing faster explain only a fraction of that pace. Most of Runvil’s capability comes from other people’s libraries, pulled off the shelf in seconds through Cargo.toml. In C++, most of those libraries either do not exist, share no common types, or take weeks of CMake surgery to compile across three operating systems.
In our understandable focus on memory safety, I worry we are missing the forest for the trees. Even if C++ solved memory safety overnight, the rest of the industry would still be building the modern stack in other languages whose libraries actually compose.
Opening a Socket Still Feels Like 1998
The Model Context Protocol Getting Started page shows where C++ stands in the modern stack at a glance.

Across its official SDK documentation, MCP maintains ten first-party SDKs: Python, TypeScript, Go, C#, Rust (rmcp), Java, PHP, Swift, Kotlin, and Ruby. C++ is nowhere on the page. Neither is it on OpenAI’s SDK page - which ships official Python, TypeScript, Go, .NET, Java, and Ruby clients plus community headings for Clojure, Delphi, Elixir, PHP, and Rust, with no heading for C++ - or on Anthropic’s seven-SDK roster (Python, TypeScript, Go, Java, Ruby, C#, and PHP).
Nobody picked PHP for speed or Ruby for borrow checking. Those ten languages got official SDKs because each already had a standard package manager, async HTTP/2 and Server-Sent Events, a router, compile-time or reflection-based JSON serialization, and JSON Schema validation ready to import. Look at hkr04/cpp-mcp, the most-starred standalone C++ MCP library on GitHub, to see what happens without them: through no fault of its author, missing a standard package workflow forces it to vendor 1.27 MB of httplib.h and json.hpp into common/, fall back to blocking WSASocketW threads with TLS off by default, and park std::thread in 10-millisecond sleep_for loops polling Win32 pipes, leaving its protocol header frozen at 2025-03-26, two spec generations behind 2026-07-28 and missing a Streamable HTTP client.
In Runvil’s plugin-mcp/Cargo.toml, adding current Streamable-HTTP MCP support took one line:
rmcp = { workspace = true, features = ["client", "transport-streamable-http-client-reqwest", "reqwest"] }
It runs async over our existing HTTP client and OS certificate store, has 56 million downloads, and compiled cleanly on Windows, macOS, and Linux on the first build. Repeat that one-line difference fifty times across an architecture and you see why Runvil exists today and a pure-C++ Runvil does not.
A project’s lockfile tells you more about how it shipped than its marketing page ever will. In Rust, Cargo.lock pins exact versions and SHA-256 checksums across 785 packages in runvil-workshop, 591 in runvil-gateway, and 300 in runvil-harness. Sandboxed agent shell execution in runvil-plugin-bashkit took one line (bashkit = { version = "0.21", default-features = false, features = ["jq"] }), pulling in bashkit (bashkit.sh), an in-memory POSIX and Bash interpreter with 230 builtin commands, virtual filesystems, and CPU/memory caps that spins up in microseconds for deterministic replay without OS fork or exec. No C++ equivalent exists. Networking in runvil-gateway took three lines:
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "time", "sync"] }
reqwest = { version = "0.13", default-features = false, features = ["json", "query", "rustls", "stream", "system-proxy"] }
axum = { version = "0.8", features = ["multipart", "ws"] }
tokio, reqwest, and axum compose over tower middleware while rustls links aws-lc-rs against each operating system’s native certificate store and proxy settings - no OpenSSL CMake flags and no bundled cacert.pem. Above that, #[derive(Serialize, Deserialize)] from serde, schemars, jsonschema, and utoipa turn plain structs into JSON, Draft 2020-12 schema validators, and OpenAPI specs; tauri wraps native OS webviews (WebView2, WKWebView, webkit2gtk) with signed auto-updates without Electron’s 200 MB bundle or Qt’s LGPL/commercial licensing and multi-megabyte runtime; and html5ever, readabilityrs, htmd, mlua, and turso each dropped in as one line and built on the first try.
Point out that nobody builds modern web backends, desktop shells, or MCP servers in C++, and someone always replies: “C++ is a general-purpose language - you can build all of those things in C++, and people have.” Some people have been to the moon, too. That does not make a Saturn V a commuter car. In production, “general-purpose” is measured by time to MVP, and a language slips from general-purpose into niche without changing a word of its specification when baseline expectations rise while its library stack stays two stories tall. Where C++ built an integrated vertical stack - AAA games on Unreal Engine - studios still ship fast. Almost everywhere else, “C++ website” became an oxymoron, and “C++ cloud service” and “C++ AI app” are following it.
Across crates.io‘s 390,000+ crates, 37.3% depend directly on serde, 85,000+ share tokio, and 9,500 share http across hyper, axum, reqwest, tonic, and tower. Strangers build five layers deep on strangers’ crates because everyone shares the same vocabulary types and builds with cargo. Meanwhile, vcpkg (2,877 ports) and ConanCenter (1,983 recipes) patch CMake, Autotools, Meson, and MSBuild across ABI triplets; dependency friction in C++ is so punishing that authors advertise “header-only, zero dependencies!” as a badge of honor, while libcurl, Drogon, Boost.Asio, and Qt cannot co_await one another or share an HTTP request type. Better to ship with 785 pinned packages than never ship with zero.
Practitioners feel that friction every Monday morning. In JetBrains’ The State of C++ 2025, only 11% of respondents use vcpkg and 6% use Conan (while 35% compile third-party source directly inside their build), 37% write no unit tests (and 17% test without a framework), and C++17 has hovered near 43% since 2020. In the May 2026 C++ Developer Survey, 56.5% still compile third-party source inside their own build and 33.3% use Git submodules across 19 build tools. And in the 2024 ISO C++ Survey, 81.9% named library dependencies a pain point (45.4% Major pain - #1 overall, more than double bounds safety at 20.5% or use-after-free at 20.0%), making a Cargo-like package workflow the #1 open-ended request across both the 2025 and 2026 surveys while 37% of developers remain barred from C++20.
AI Won’t Save C++
Two comforting stories about AI keep us from treating that ecosystem gap as an emergency. Neither survives contact with data.
A surprising number of smart C++ programmers think AI coding agents rescue C++ from its missing library ecosystem: “If you are driving an LLM anyway, who cares how rich the package registry is? An AI doesn’t mind boilerplate.” After 2,500 hours building software and open-source agent tooling with frontier models, I can tell you the opposite happens: an LLM multiplies the richness and uniformity of the host language’s package ecosystem. Wiring axum, reqwest, serde, jsonschema, and rmcp takes 300 lines of idiomatic glue and compiles before lunch; asking a model to write bashkit or an HTTP/2 + TLS 1.3 stack from scratch in C++ produces 40,000 lines of broken state machines and blown context windows.
Benchmarks confirm why. When Zero2Repo blocked existing implementations of target libraries and forced 18 frontier agent configurations to build them from scratch, 56.2% of runs failed the hidden acceptance suite and none solved all 17 tasks, because agent accuracy drops roughly in half past 600-token patches. On SWE-bench Multilingual, SWE-agent scored highest in Rust (58.1%) and lowest in C/C++ (28.6%), crippled by C/C++ repos that agents fail to compile 60% to 74% of the time and build containers they configure from scratch only 2.2% to 18.9% of the time - whereas on GitHub’s 832,000-line Copilot runtime port and Bun’s 535,000-line port in 11 days, borrow-checker errors were just 1.7% of cargo check diagnostics. Nor does manual vendoring protect against “AI slop”: machine-readable Cargo.lock graphs let Runvil enforce cargo-audit and cargo-deny on every push (blocking CVEs, copyleft leaks, and ring duplicates) - checks no scanner can run reliably across tangled CMakeLists.txt conditionals, FetchContent tarballs, and Git submodules - while human maintainers guard the perimeter at rustc, Servo, Mitchell Hashimoto’s Ghostty AI policy + Vouch, LLVM, and curl. Human gatekeeping at the bottom of the stack is what lets builders and agents move fast at the top.
The second comforting mainstage story at C++ conferences says C++ is the language of AI because PyTorch, TensorRT-LLM, CUDA, and llama.cpp run underneath. In GitHub Octoverse 2025, C++ accounted for ~7,800 new AI repositories - 1.3% of Python’s 582,196 and less than a tenth of TypeScript’s 85,746 - while Rust doubled (+100% YoY) in Octoverse 2026 and Stack Overflow’s 2025 survey showed Python developers reaching for Rust and Go when dropping down to native code. Even inside flagship inference engines, C++ sits walled off in the sub-basement: llama.cpp and whisper.cpp expose pure extern "C" headers (llama.h, whisper.h) so callers never touch a C++ type; Ollama is 75.3% Go and 0.8% C++; PyTorch is 66.2% Python (26.5% C++), TensorRT-LLM is 77.3% Python (15.5% C++), and vLLM has more Rust (6.9%) than C++ (2.5%) and CUDA (3.8%) combined. One floor up - across OpenAI’s rewritten Codex CLI (97.5% Rust, 0% C++), Zed, Goose, Hugging Face tokenizers, Claude Code, LangChain, MCP Servers, and LiteLLM - C++ is 0%.
Scientific computing already ran this movie. A quarter of SciPy 1.0 (NumPy Nature) is battle-tested Fortran (BLAS, LAPACK, QUADPACK, MINPACK), and a Fortran committee delegate in 2015 could have pointed at global OpenBLAS and LAPACK traffic and declared that Fortran ruled data science - even though every physicist and ML engineer under forty had already moved to Python. Once a language retreats into leaf math kernels behind an FFI wrapper, new graduates learn the wrapper language, protocol libraries grow there, hiring dries up in the kernel language, and eventually new native extensions (tokenizers, pydantic-core, vLLM‘s Rust modules) get written elsewhere too. Calling C++ “the language of AI” because matrix-multiply kernels live underneath confuses the furnace in the basement with the skyscraper above it - and stings all the more because C++ still holds the binary ABI crown (Itanium C++ ABI, MSVC binary compatibility) that Rust’s deliberately unstable repr(Rust) and extern "Rust" gave up, which is why Runvil’s own hot-loadable plugin boundary drops back to C99 and C++.
The Standardization Gold Rush
Ask a room full of C++ committee veterans whether tokio is part of the Rust standard library and watch the pause that follows. It isn’t.
In The Design and Evolution of C++ (D&E, Section 4.2), Bjarne Stroustrup stated the architectural rule that kept C++ coherent: C++ is a language, not a complete system - the core language and minimal standard hooks carry only what only the language can do, while domain libraries compete and mature in user space. Compare how Rust 1.36 and 1.39 applied that exact D&E rule to async I/O: Rust put one tiny, allocator-free narrow waist into core::future::Future so async/.await had a compiler target, and then stopped:
pub trait Future {
type Output;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>;
}
Leaving the runtime outside std gave Rust something stronger than an ISO library standard: a de facto standard that could evolve before locking in. In user space on GitHub and crates.io, tokio competed openly with async-std and smol and broke its own API across 0.1, 0.2, and 0.3 as production servers exposed scheduler, trait, and cancellation flaws before shipping tokio 1.0. Even after 85,000+ crates converged on tokio, Rust still kept it out of std - because if kernel I/O changes in 2030, tokio 2.0 can coexist beside tokio 1.x in the same binary.
In C++, the lack of a universal one-line package workflow created the opposite incentive: a Standardization Gold Rush. Because shipping a third-party C++ library across build systems is painful, authors treat std:: as the only viable distribution channel, and - as Bert Hubert observed of standards bodies in Herding the DNS Camel - landing a large paper in the standard becomes a career and resume trophy in its own right, detached from operational need.
Conference trip reports celebrate three-year release trains departing right on schedule and “crossing a Rubicon,” while beneath the celebratory slides 18 compiler and standard-library implementers sign P3962R0 pleading with WG21 to slow down, hundreds of unscheduled proposals roll year after year across telecon backlogs, side-channel syntax transpilers route around the very queue library authors are told to wait in, and contested designs pushed over sustained objections trigger the first failed Draft International Standard (DIS) ballot in WG21’s 36-year history.
Worst of all, winning the C++ standardization gold rush makes an unbaked library measurably worse. Like the overloaded warship Vasa that Stroustrup has warned the committee about for years, pouring untested superstructure into std:: locks v0.1 mistakes into permanent ABI concrete: C++11 froze std::regex in place - measured in P2028R0 at 2x slower than Python and PHP and 10-100x slower than Rust and Go, and judged unfixable in P2130R0 - just as node-based rules froze std::unordered_map while user-space libraries (re2, fmt, boost::unordered_flat_map) evolved circles around them.
Did the Standard Actually Need std::execution?
Exhibit A of the standardization gold rush is P2300 (std::execution, Senders and Receivers).
Unlike co_await - which genuinely needed compiler frontend and middle-end support to split a function across suspension points - P2300 requires zero compiler magic. It is 100% ordinary C++20 library code (NVIDIA/stdexec). Anyone who wanted statically typed GPU work graphs could already pull stdexec from GitHub, ship with it, and revise its API every month as hardware and real users taught them what broke. Nothing about P2300 ever required freezing hundreds of pages of customization point objects and completion-signature metaprogramming into the C++26 standard.
Look at what rushing P2300 into std:: cost C++ in practice. Twenty-one years after N1925 proposed standard networking in 2005, C++ still has no standard sockets. By 2018 WG21 had shipped the Networking TS (N4771), distilled from two decades of production deployment in Christopher Kohlhoff’s Boost.Asio (P2444R0), and two years later C++20 delivered stackless coroutines (co_await, co_return, co_yield) - C++’s own compiler narrow waist.
Instead of investing in the coroutines we had just landed and pairing them with proven async I/O, P2464R0 urged WG21 in September 2021 to stop standardizing the Networking TS and pivot exclusively to Senders and Receivers. Over the warning Kohlhoff, I, and three co-authors filed in P2469R0, LEWG voted on weak consensus (17-11-10-4-6 in P2453R0 Poll 4) that standard networking must be built on P2300, SG4 voted (5-5-1-0-1 on P2762R2) to strip the Networking TS executor model, and SG4 and LEWG voted in February 2025 (N5007) to withdraw the Networking TS altogether. As of 2026 (P4098R1), no published production deployment of sender-based networking exists anywhere in the industry.
Worse, P2300‘s authors spent five years talking down C++20’s own coroutines. In the final adopted specification of std::execution, P2300R10 Section 1.9.2 (Coroutines) states:
“In our experience, more often than not in real-world code today’s compilers are not able to inline the coroutine, resulting in allocations and indirections in the generated code.In a suite of generic async algorithms that are expected to be callable from hot code paths, the extra allocations and indirections are a deal-breaker. It is for these reasons that we consider coroutines a poor choice for a basis of all standard async.”
“In our experience, more often than not in real-world code today’s compilers are not able to inline the coroutine, resulting in allocations and indirections in the generated code.
In a suite of generic async algorithms that are expected to be callable from hot code paths, the extra allocations and indirections are a deal-breaker. It is for these reasons that we consider coroutines a poor choice for a basis of all standard async.”
Section 4.16 adds that “callbacks are more expressive than coroutines,” and Section 4.17 specifies that if a P2300 sender cancels inside an ordinary C++20 coroutine whose promise omits unhandled_stopped, std::terminate is called. In place of for, if, and local variables across co_await, C++26 froze thirty sender combinators (P4014R2) with no standard loop algorithm, template diagnostics long enough that stdexec recommends a custom VS Code extension, and an eleventh-hour patch (P3175R3) after std::execution::on ran continuations on the wrong scheduler.
Meanwhile, because committee oxygen moved on before C++20 coroutines were finished, compiler teams left critical coroutine optimizations on the backlog across the seven-year natural experiment documented in P1492R0 (compiler and runtime comparison). Rust chose frame-visible coroutines (RFC 2394), lowering async fn into an unboxed impl Future with compile-time sizeof and overlap packing (Tyler Mandry) so a static call tree flattens into one ~216-byte root task in Tokio or static .bss SRAM in Embassy - trading away Pin ceremony, oversized multi-kilobyte futures risking stack overflow before spawning, Box::pin for recursion and dyn Trait, O(depth) Waker poll switches, and zero-copy borrowed buffers on io_uring and Windows IOCP. C++20 chose frame-opaque coroutines behind an 8-byte std::coroutine_handle<>, keeping separate .cpp compilation, stable DLL ABIs, virtual coroutines, O(1) leaf resumption, and zero-copy proactor I/O via std::stop_token - at the price of heap allocation whenever HALO (P0981R0) misses.
Through 2026, GCC 16 and MSVC 19.52 still leave HALO unimplemented at -O2//O2, Clang requires [[clang::coro_await_elidable]], MSVC needed a stdexec await_suspend workaround and regressed coroutine frame sizes ~18x in MSVC 19.51, and 65.9% of C++ developers report their current project still has no plans to allow C++20 coroutines in production - even though adding optional frame-visible coroutines (P4166R0) would give C++ both models.
And while WG21 spent five years debating transform_completion_signatures, Rust’s user-space ecosystem rallied around its 3-line Future trait and built FuturesUnordered in futures-util (1.20 billion downloads, 25,280 GitHub Rust files alongside 20,768 buffer_unordered call sites) and tokio::task::JoinSet (44,736 files). In a package resolver, crawler, or AI tool runner, hundreds of requests finish out of order, and finishing request #14 uncovers three new requests that belong on the active queue immediately. C++26’s when_all is a fixed compile-time tuple and counting_scope spawns only void fire-and-forget senders; FuturesUnordered wakes 1 socket out of 100,000 in O(1) via an atomic MPSC ReadyToRunQueue and lets callers .push() newly discovered work mid-flight inside tokio::select! while borrowing local stack variables without Send or 'static bounds (Tyler Mandry) - which is how cargo, uv, deno, and rust-libp2p actually ship.
How std::execution Undermined Coroutine Tasks
Once WG21 standardized P2300 needlessly, every layer built on top of it inherited the mistake. Networking programmers do not want to write thirty sender combinators; like developers in Python, TypeScript, C#, Swift, Kotlin, and Rust, they want to write co_await coroutines with ordinary for loops, if statements, and local variables. Even P2300‘s proponents eventually had to ship a coroutine std::execution::task in C++26 - except now task had to serve two masters, acting simultaneously as a C++20 coroutine and a P2300 sender (P4007R3).
Watch what happens first to frame allocation - which is mandatory for performance because GCC and MSVC still heap-allocate every coroutine frame. In P2300, a child operation gets its allocator from the receiver’s environment when connect(sndr, rcvr) runs. In a C++20 coroutine, promise_type::operator new allocates the frame at the call site before task is even constructed, long before any receiver exists (P4127R0, P3796R1). In P4003R3 and P4127R0, we gave WG21 the zero-ceremony solution proven in Boost.Capy: bind a thread-local recycling pool once at task launch so every child coroutine in a deep call tree reuses pooled frame memory automatically (3.10x faster than std::allocator on MSVC), leaving every function signature clean.
WG21 left P4003R3 unscheduled and adopted P3980R1 instead - splitting task allocation into non-communicating worlds where the receiver’s environment allocator never touches the coroutine frame, and customizing frame allocation requires threading std::allocator_arg_t, Alloc into the first parameter of every single coroutine in your call chain:
// C++26 std::execution::task (P3980R1): viral allocator_arg at every function and co_await
ex::task<header, env> parse_header(std::allocator_arg_t, auto alloc, socket& s, buffer& buf);
ex::task<void, env> handle_request(std::allocator_arg_t, auto alloc, socket& s) {
buffer buf;
auto hdr = co_await parse_header(std::allocator_arg, alloc, s, buf);
co_await s.write(make_response(hdr));
}
Forget std::allocator_arg, alloc on one inner co_await and the code compiles cleanly while silently falling back to global ::operator new; use auto alloc and every coroutine becomes a template that cannot live in a .cpp file or be virtual; want an optional allocator and P3980R1 tells you to duplicate wrapper overloads; and because P3980R1 threw away the frame allocator before start(), task‘s internal task_scheduler silently fell back to std::allocator too, forcing P4453R1 to bolt on a third allocator query (get_scheduler_allocator) just to stop the bleeding.
The rest of std::execution::task paid the same two-masters tax right out of the gate:
- Broken cross-library co_await (P4089R1): Seven of nine existing C++ coroutine libraries converged on task<T> with one template parameter; std::execution::task<T, Environment> adds a viral second parameter with no general conversion, so two libraries with different environments cannot co_await each other without manually shimming every missing query by name.
- Stack overflow in loops (P3801R0, P2583R4): Because P2300‘s start() and set_value() return void instead of coroutine_handle<>, sender intermediaries break C++20 symmetric transfer, growing the C stack linearly on synchronous completions (and triggering reentrant lifetime crashes like NVIDIA/stdexec#2047).
- Clunky errors and 40 extra operations per HTTP turn (P4123R0): Non-exception errors require co_yield with_error(e) (illegal inside catch blocks), sender error_codes get wrapped into ~1,000-nanosecond exception_ptr rethrows while dropping partial byte counts (P4090R1), and even granting every proposed fix, an ordinary 5-coroutine / 10-I/O HTTP session still pays 40 extra spec-mandated sender operations (connect / state<Rcvr> / scheduler extraction / affine) plus per-op any_sender heap allocations on type-erased streams - violating zero-overhead for every networking user who only wanted a coroutine task.
Missing the Forest for the Safety Trees
While C++ fell behind in networking, packaging, and AI tooling, memory safety consumed nearly all the oxygen in our keynotes and committee rooms after advisories from the NSA, CISA and Five Eyes, and the White House ONCD.
Taking safety seriously is good engineering, when we build what works instead of subordinating it to committee machinery. At The C++ Alliance, we funded Sean Baxter’s Safe C++ (P3390R0) to gather real compiler data on borrow checking, and we ship Clang compiler tooling and compile Boost libraries against Bjarne Stroustrup’s Profiles (P2816R0, P3704R1; endorsed by the Direction Group in P2759R1) - keeping Profiles a first-class, independent safety framework with its own compile-time and deterministic runtime guarantees without breaking forty years of code, rather than coupling its specification to P2900 Contracts or routing core-language undefined behavior through a global contract-violation handler that continues past language-undefined states (P3100).
In the standard library - where fast-trapping preconditions are proven at fleet scale and log-and-continue can stay scoped to checks with defined post-violation states - Google’s hardened libc++ deployment across Search, Gmail, Drive, YouTube, and Maps already cut production segfaults by 30% and caught over 1,000 bugs at a measured 0.30% performance cost. Turn on hardened standard libraries, run sanitizers in CI, pair coding agents with strict RAII rulebooks, and ship independent Profiles - all of that protects existing C++ systems.
Here is the gentle warning I want to offer my friends in the C++ community: treating memory safety as the whole battle misses the forest for the trees.
Suppose we had a magic button tonight that delivered 100% provable memory safety across every line of C++, with zero overhead and zero broken code. What happens tomorrow morning when a team sits down to build a new service?
They still cannot open a socket with the standard library. They still cannot serve a webpage, stream Server-Sent Events over native OS TLS, spin up an axum-style router, validate a JSON Schema, or speak MCP without vendoring megabytes of headers and writing WSASocketW loops. Adding a library still means forty lines of CMake across three operating systems, and async C++ is still split between P2300 combinator trees and neglected C++20 coroutines.
Python, TypeScript, PHP, Ruby, Go, Java, Kotlin, Swift, and C# did not beat C++ onto the official MCP, OpenAI, and Anthropic SDK pages because of borrow checkers. They got there because their libraries compose and their tooling gets out of the way. C++26 reflection will trim serialization boilerplate, yet calling C++26 a “whole new language” while opening an HTTPS connection still feels like 1998 is speeches on deck while the cargo stays on the pier. Safety keeps existing C++ legal and reliable; only a living library ecosystem makes builders choose C++ for what comes next.
Stop Waiting on Geneva
tokio, futures, serde, reqwest, axum, tauri, bashkit, and rmcp never needed a vote from an ISO committee in Geneva. None of them appear in the Rust language specification, and every one of them is stronger because it can evolve without an ISO ballot.
C++20 already gave us our narrow waist six years ago: co_await, std::coroutine_handle<>, std::stop_token, std::span, and concepts. Instead of waiting on C++29 or C++32 papers, we can build on the foundations C++ already shipped and create de facto standards in the open right now:
- Make C++20 coroutines first-class, from compilers to dynamic task queues. Compiler teams can finish nested HALO, fix frame-size regressions, and explore frame-visible coroutines (P4166R0) where inline layout matters, while user-space libraries ship FuturesUnordered-class dynamic task queues and OS-native TLS against system certificate stores out of the box.
- Unite the C++20 web and AI stack on one shared vocabulary. Runvil’s Cargo.toml is the exact blueprint for Boost-licensed (BSL-1.0) libraries atop Boost.Capy, Boost.Corosio (corosio.org, Why Corosio), Boost.URL, and Boost.JSON: a five-line HTTP/2 and SSE client matching reqwest, an axum-class HTTP/WebSocket/JSON-RPC router with automatic serialization (Boost.Describe today, C++26 reflection tomorrow) and JSON Schema validation, upstream C++20 SDKs for modelcontextprotocol, OpenAI, and Anthropic, async SQLite/Turso bindings, sandboxed tool interpreters, and a Tauri-style native OS webview shell.
- Ship copy-and-go project templates and automated dependency gates. If adding a library takes forty lines of CMakeLists.txt folklore, neither startup founders nor coding agents will touch C++. Opinionated vcpkg.json and CMakePresets.json starter templates that emit compile_commands.json on the first run and enforce cargo-deny-style CVE and license checks across Windows, macOS, and Linux remove that friction on day one.
Boost.Beast had to target C++11 callbacks atop Boost.Asio. Look at what C++20 networking already looks like today in Boost.Capy and Boost.Corosio when we stop waiting on P2300 and Geneva - sequential co_await over Windows IOCP, Linux epoll and io_uring, and macOS kqueue, [ec, n] value pairs with zero hot-path exception overhead so EOF and cancellation never throw (shown over raw TCP below; wrapping sock in TLS takes three more lines), automatic executor affinity, std::stop_token cancellation, and thread-local frame recycling:
namespace corosio = boost::corosio;
namespace capy = boost::capy;
capy::task<std::string>
fetch_page(corosio::io_context& ioc, std::string host)
{
corosio::resolver resolver(ioc);
auto [ec_dns, results] = co_await resolver.resolve(host, "http");
if (ec_dns)
throw std::system_error(ec_dns);
corosio::tcp_socket sock(ioc);
if (auto [ec_conn, ep] = co_await corosio::connect(sock, results); ec_conn)
throw std::system_error(ec_conn);
std::string req = "GET / HTTP/1.1\r\nHost: " + host + "\r\nConnection: close\r\n\r\n";
if (auto [ec_w, n_w] = co_await capy::write(sock, capy::make_buffer(req)); ec_w)
throw std::system_error(ec_w);
std::string page;
for (char chunk[4096];;)
{
auto [ec_r, n_r] = co_await capy::read(sock, capy::make_buffer(chunk));
page.append(chunk, n_r);
if (ec_r == capy::cond::eof)
co_return page;
if (ec_r)
throw std::system_error(ec_r);
}
}
C++ still owns bare metal, low-latency trading, game engines, GPU inference kernels, and decade-spanning binary ABI stability. Those strengths are worth fighting for, and we do not have to surrender everything above an extern "C" header to keep them.
Keep hardening our libraries and shipping independent safety Profiles. Leave the standardization gold rush behind, take care of the C++20 coroutines we already landed, and come help us build the composable library stack that lets C++ builders ship again - fast.