Story Details

  • Carbon is not a programming language (sort of)

    Posted: 2025-02-08 15:51:06

    The blog post argues that Carbon, while presented as a new language, is functionally more of a dialect or a sustained, large-scale fork of C++. It shares so much of C++'s syntax, semantics, and tooling that it blurs the line between a distinct language and a significantly evolved version of existing C++. This close relationship makes migration easier, but also raises questions about whether the benefits of a 'new' language outweigh the costs of maintaining another C++-like ecosystem, especially given ongoing modernization efforts within C++ itself. The author suggests that Carbon is less a revolution and more of a strategic response to the inertia surrounding large C++ codebases, offering a cleaner starting point while retaining substantial compatibility.

    Summary of Comments ( 48 )
    https://news.ycombinator.com/item?id=42983733

    Hacker News commenters largely agree with the author's premise that Carbon, despite Google's marketing, isn't yet a fully realized language. Several point out the lack of a stable ABI and the dependence on constantly evolving C++ tooling as major roadblocks. Some highlight the ambiguity around its governance model, questioning whether it will truly be community-driven or remain under Google's control. The most compelling comments delve into the practical implications of this, expressing skepticism about adopting a language with such a precarious foundation and predicting a long road ahead before Carbon reaches production readiness for substantial projects. Others counter that this is expected for a young language and that Carbon's potential merits are worth the wait, citing its modern features and interoperability with C++. A few commenters express disappointment or frustration with the slow pace of Carbon's development, contrasting it with other language projects.