← Tue, Dec 1 digest

C++ needs to catch up

read article ↗ hn thread ↗

Veteran C++ library author Vinnie Falco explains why he chose Rust to build a new AI platform, citing C++'s punishing dependency friction and the standards committee's misplaced focus.

read it A prominent C++ ecosystem insider offers a rare, brutally honest critique of why modern greenfield development in C++ is increasingly impractical.

summary

Vinnie Falco recounts why he bypassed C++ to build an AI prompt runtime in Rust, despite decades of contributions to Boost. He argues that C++'s lack of a standard package manager and composable library ecosystem—exacerbated by an ISO committee focused on theoretical abstractions like std::execution rather than practical ergonomics—leaves the language behind. He further contends that AI coding tools amplify rich ecosystems rather than rescue sparse ones, accelerating the industry's shift toward languages like Rust.

key points

  1. Building modern software in C++ is crippled by dependency friction, forcing developers to patch CMake, submodules, or vendor headers due to the absence of a universal package manager.
  2. The ISO C++ committee is bogged down in a 'Standardization Gold Rush,' spending years pushing complex specifications like std::execution while neglecting basic needs like networking and coroutine optimization.
  3. AI code generation tools perform significantly better in languages with rich, uniform package registries like Cargo than in fragmented ecosystems like C++.

who should read it

C++ developers, systems programmers, and engineering leaders evaluating tech stacks for greenfield projects.

discussion skeptical

consensus

Commenters overwhelmingly validate the author's frustrations, sharing anecdotes about the nightmare of C++ dependency management and agreeing that the language risks becoming a legacy maintenance tool.

pushback

A minority argue that C++'s massive incumbent codebase and domain lock-in ensure it will remain vital for decades, much like Fortran.

best comment by teh ↗

I feel almost every single point in this article. I spent the last 5 years of my life fighting c++ in a finance place. Something that should be a 20 minute job becomes 20 minutes & several hours of cmake because abseil in some deep dependency does c++ version detection and segfaults because std::string_view isn't compatible with its own version.

What makes this worse in finance is that you sometimes only get a binary library to link against so you have to add another 2 days to run the library in a subprocess with some kind of rpc interface on top because it's not link compatible.

I can't …

It details real-world enterprise friction where deep dependency trees and binary-only linking turn routine tasks into days of troubleshooting.

Generated by an LLM from the article and thread. Check the sources before relying on it.