Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #122595 > unrolled thread

"My C++ on Sea talk video posted: “Three Cool Things in C++26”" by Herb Sutter

Started byLynn McGuire <lynnmcguire5@gmail.com>
First post2025-08-19 17:35 -0500
Last post2025-08-25 20:59 +0000
Articles 4 — 4 participants

Back to article view | Back to comp.lang.c++


Contents

  "My C++ on Sea talk video posted: “Three Cool Things in C++26”" by Herb Sutter Lynn McGuire <lynnmcguire5@gmail.com> - 2025-08-19 17:35 -0500
    Re: "My C++ on Sea talk video posted: “Three Cool Things in C++26”" by Herb Sutter Michael S <already5chosen@yahoo.com> - 2025-08-20 23:16 +0300
      Re: "My C++ on Sea talk video posted: “Three Cool Things in C++26”" by Herb Sutter wij <wyniijj5@gmail.com> - 2025-08-21 07:12 +0800
    Re: "My C++ on Sea talk video posted: “Three Cool Things in C++26”" by Herb Sutter legalize+jeeves@mail.xmission.com (Richard) - 2025-08-25 20:59 +0000

#122595 — "My C++ on Sea talk video posted: “Three Cool Things in C++26”" by Herb Sutter

FromLynn McGuire <lynnmcguire5@gmail.com>
Date2025-08-19 17:35 -0500
Subject"My C++ on Sea talk video posted: “Three Cool Things in C++26”" by Herb Sutter
Message-ID<1082u8b$b6v$1@dont-email.me>
"My C++ on Sea talk video posted: “Three Cool Things in C++26”" by Herb 
Sutter
  
https://herbsutter.com/2025/08/19/my-c-on-sea-talk-video-posted-three-cool-things-in-c26/

"Three Cool Things in C++26: Safety, Reflection & std::execution"

Lynn

[toc] | [next] | [standalone]


#122607

FromMichael S <already5chosen@yahoo.com>
Date2025-08-20 23:16 +0300
Message-ID<20250820231634.00002bb9@yahoo.com>
In reply to#122595
On Tue, 19 Aug 2025 17:35:54 -0500
Lynn McGuire <lynnmcguire5@gmail.com> wrote:

> "My C++ on Sea talk video posted: “Three Cool Things in C++26”" by
> Herb Sutter
>   
> https://herbsutter.com/2025/08/19/my-c-on-sea-talk-video-posted-three-cool-things-in-c26/
> 
> "Three Cool Things in C++26: Safety, Reflection & std::execution"
> 
> Lynn
> 

Lynn, do you ever read your own links?

[toc] | [prev] | [next] | [standalone]


#122608

Fromwij <wyniijj5@gmail.com>
Date2025-08-21 07:12 +0800
Message-ID<4578a57c4b1f3a8f5d1f966eea5210f481492d4f.camel@gmail.com>
In reply to#122607
On Wed, 2025-08-20 at 23:16 +0300, Michael S wrote:
> On Tue, 19 Aug 2025 17:35:54 -0500
> Lynn McGuire <lynnmcguire5@gmail.com> wrote:
> 
> > "My C++ on Sea talk video posted: “Three Cool Things in C++26”" by
> > Herb Sutter
> >   
> > https://herbsutter.com/2025/08/19/my-c-on-sea-talk-video-posted-three-cool-things-in-c26/
> > 
> > "Three Cool Things in C++26: Safety, Reflection & std::execution"

New 'standard' makes C++ more like C++ committee's own language game. 
C++ is dying, and fast.

> > Lynn
> > 
> 
> Lynn, do you ever read your own links?
> 

[toc] | [prev] | [next] | [standalone]


#122667

Fromlegalize+jeeves@mail.xmission.com (Richard)
Date2025-08-25 20:59 +0000
Message-ID<108iis2$18u16$1@news.xmission.com>
In reply to#122595
[Please do not mail me a copy of your followup]

Lynn McGuire <lynnmcguire5@gmail.com> spake the secret code
<1082u8b$b6v$1@dont-email.me> thusly:

>"My C++ on Sea talk video posted: Three Cool Things in C++26" by Herb 
>Sutter
>  
>https://herbsutter.com/2025/08/19/my-c-on-sea-talk-video-posted-three-cool-things-in-c26/

I'm subscribed to C++ on Sea's channel <https://www.youtube.com/@cpponsea>
and watched this video when it came out.  Direct video link:
<https://www.youtube.com/watch?v=kKbT0Vg3ISw>

The addition of reflection in C++26 is a really good starting point
for automating some tedious tasks.  Things like enum-to-string and
string-to-enum code that's annoying to keep up-to-date as the enum set
evolves.  At previous employers, we had an XML data model file and ran
a code generator tool from the Java world on the XML file to produce C++
source files which were added to our repository.  (We were generating
protobuf message structures from the data model, among other things.)
I could easily see C++26 reflection facilities making this simpler.

I agree with Herb that we're only just starting to see the power of
the reflection facilities added to C++26.  There are already some
libraries cropping up on github that look interesting.

However, I would plead with the authors of such libraries to document
their libraries!  I came across several libraries that looked
"interesting" but didn't provide any tests, examples or documentation
for the reflection feature they purported to implement, such as
dependency injection.

-- Richard

-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
            The Terminals Wiki <http://terminals-wiki.org>
     The Computer Graphics Museum <http://computergraphicsmuseum.org>
  Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web