Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.c++ Subject: Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Date: Sun, 10 May 2026 01:24:40 -0700 Organization: A noiseless patient Spider Lines: 41 Message-ID: <87v7cvbrjr.fsf@nightsong.com> References: <10tmmrp$3fobc$1@dont-email.me> <10tn5tm$3j9oi$2@dont-email.me> <10tni0q$3osnh$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sun, 10 May 2026 08:24:40 +0000 (UTC) Injection-Info: dont-email.me; logging-data="261021"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zAlNAjYppvc4rXl6HWk/Q"; posting-host="297339f08b850cc51b16e7c23d4f8820" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:VhjynVmNCP+RGLL7UT9GVumwDLU= sha1:PbPP6Cr2t/EsQiG+59zJpuCOuFk= sha256:m3RBIm4H9h2jU31I+1CZL/IGcXUtT6908r/R2AjZhzM= sha1:9PfOsirVbppsn7Bg5NjoHJCQhxE= Xref: csiph.com comp.lang.c++:123800 boltar@caprica.universe writes: >>> http://herbsutter.com/2026/04/29/london-meetup/ Ok, I watched this video but meh, it said even C is growing, so merit doesn't seem to be involved. >> - Modules. (They don't work.) That's unfortunate. I hadn't been paying attention but I had the impression that they were promising. >> - Coroutines. (They're not actually coroutines.) Yeah true. More like protothreads. > They should have taken a look at how Python does it - the function > returns an iterator and you call "yield " inside it. Done. That's generators. Python coroutines are a mess because they were added to the language a little bit at a time. There are even multiple syntaxes (how unpythonic) for doing using them, generator-style and async/await. >> - Concepts. (Cool, but most of you won't ever write one.) I haven't used them in C++, but in Haskell they're called "type classes" and people write them all the time. They are important. Does Ada have something similar? In C++ it might be that writing them is done mostly by library implementers. But then they help the users by decreasing the hellishness of templated classes. >>Apparently GCC will be getting contracts and reflection "soon". > I can't wait for contracts and reflection in C++! Contracts seem like a good thing. They're important in Ada after all. Reflection, that I don't know about. That said, the video of Herb Sutter's talk showed an audience of old bald-headed guys, almost like a Lisp conference. For better or worse, Rust seems to have all the energy now.