News for hackers. Stuff that matters.
Re:Trip report: Autumn ISO C++ standards meeting (Kona, HI, ... by pjmlp on Sunday November 12, 2023 @03:55AM (#38238578)
Apparently someone showed up to pick up the work regarding reflection.

However at least we already have a kind of poor man's reflection, with constexpr if + concepts + type traits.

As for the rest, I am also not a big fan, but until my favourite language runtimes and GPGPU tools switch to something else, C++ is part of the toolbox. No need to add even more layers.

Re:Trip report: Autumn ISO C++ standards meeting (Kona, HI, ... by SubjectToChange on Sunday November 12, 2023 @05:03AM (#38238917)
Reflection will be a welcome addition whenever it arrives. On the other hand, whatever is standardize will be a profound disappointment compared to Circle C++.
Re:Trip report: Autumn ISO C++ standards meeting (Kona, HI, ... by harrid on Sunday November 12, 2023 @05:28AM (#38239030)
Circle... I hope he can do it. Sounds too good to be true everyone I read about it.
Re:Trip report: Autumn ISO C++ standards meeting (Kona, HI, ... by pjmlp on Sunday November 12, 2023 @05:15AM (#38238973)
Yeah, Circle is the only "Typescript for C++" alternative.
Re:Trip report: Autumn ISO C++ standards meeting (Kona, HI, ... by jcelerier on Sunday November 12, 2023 @06:54AM (#38239409)
boost::pfr is also huge for reflection in C++. It leverages corner cases of the language and compilers but does so uniformly (works for MSVC, GCC, clang which is all that matters in 2023).

It allowed me to write for instance https://GitHub.com/celtera/avendish which keeps on giving. The last version even add automatic field name reflection which is huge: https://www.boost.org/doc/libs/master/doc/html/boost_pfr/tut...

Re:Trip report: Autumn ISO C++ standards meeting (Kona, HI, ... by pjmlp on Sunday November 12, 2023 @12:46PM (#38242396)
Thanks for the hint, wasn't aware of it.
Re:Trip report: Autumn ISO C++ standards meeting (Kona, HI, ... by spacechild1 on Monday November 13, 2023 @04:01AM (#38248343)
Wow, how does this even work? Can you share some hints?
Re:Trip report: Autumn ISO C++ standards meeting (Kona, HI, ... by jcelerier on Monday November 13, 2023 @05:15AM (#38248730)