What Hacker News thinks, at a glance.

C++ Needs to Catch Up

What HN thinks

Commenters debate whether C++ should modernize its ecosystem and standard library to remain competitive or accept its decline as developers migrate to languages like Rust.

Split opinion Based on 77 of 176 sampled comments that took a side (196 in the thread).

  1. C++ must modernize ecosystem and stdlib 34%

    C++ lacks a unified package manager, standard build system, and modern standard library features, causing excessive friction that makes it uncompetitive for new projects.

    “Dependency friction in C++ is so punishing that authors advertise β€œheader-only, zero dependencies!”” — filipdobro

    26 comments

  2. C++ is obsolete and should be replaced 29%

    C++ is a sinking ship; its complexity, slow standardization, and lack of modern ergonomics mean developers should move to Rust or other modern languages.

    “C++ is the walking dead. Like COBOL, it will live forever, but nothing new will be developed in it.” — dist-epoch

    22 comments

  3. C++ remains viable and relevant 26%

    C++ still dominates performance-critical domains like trading, game engines, and embedded systems, and its massive existing codebase ensures it will not disappear soon.

    “It's still the most popular language for writing video games in, and it's an industry larger than films.” — gambiting

    20 comments

  4. AI reduces the importance of language choice 12%

    LLMs make writing and maintaining code easier across languages, diminishing the impact of C++'s complexity and making language-specific ergonomics less relevant.

    “what AI literally does is make unobservable language/code level differences between languages irrelevant.” — worried_individ

    9 comments

Read Later