Implement CI/CD monitoring using OpenTelemetry (signoz.io)
1 points by ankit01-oss 1h ago 0 comments
Writers, Abandon Literary Prizes (persuasion.community)
1 points by Michelangelo11 1h ago 0 comments
Variadic Switch
46 Tsche 10 5/13/2025, 8:45:53 PM pydong.org ↗
https://d.godbolt.org/z/PxWEW14K1
That is template for as part of the C++26 reflection work.
https://isocpp.org/files/papers/P2996R4.html
You will also find some well known names here,
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p34...
Otherwise I rather stay in JVM/CLR/V8 land, when I don't need to.
I have been around D since Andrei Alexandrescu's book was published, even he is now back in C++ at NVidia, as his main work after he kind of stepped away from his role in D development.
And he is one of the figures on C++26 reflection papers.
Many people forget C++ is a C sibling, born at AT&T on the same building UNIX and C were being handled, thus it was quite an easy win for C compiler vendors, to add C++ support to their toolchains.
Note that Objective-C also never made it outside NeXT, GNUStep was never that good clone, and had it not been for Apple's acquision and success, maybe we would no longer speak about it.
When Facebook or Remedy Games played with D, we hoped it would somehow improve adoption, that was never the case, and both companies no longer use D.
One keeps the whole security discussion going on, while the other keeps an image that C++ is a language not worth learning.
C++ isn't great for for metaprogramming, because much of it is a hack that uses the type system to do things it was never originally designed to do (i.e. as a lisp). But as metaprogramming has become more commonplace, the language has evolved with features that make it easier and more readable. It's still all based on a hack, and there's still no good way to debug a metaprogram. But at least I don't have to read the loki book anymore to grok it.
I still prefer to use a proper code generator when I can (it compiles faster, and I can see the generated code). Generating an ordinary switch outside of C++ is certainly an option and is something I've done. But I don't reach for it every time, because those tools tend to be kludgy as well (they can generate invalid C++, which templates and comstexpr cannot).