Check out the source code: https://github.com/RyanJK5/rjk-duck
Show HN: Beautiful Type Erasure with C++26 Reflection
ryanjk5.github.io
1–10 of 64 posts
Check out the source code: https://github.com/RyanJK5/rjk-duck
Show HN: Beautiful Type Erasure with C++26 Reflection
ryanjk5.github.io
...but, as they say, beauty is in the eye of the beholder!
The things people describe as "beautiful" never cease to amaze me... ...but, as they say, beauty is in the eye of the beholder!
Reflections, especially static ones, are horrible for debugging.
As an aside, you may want to check out Jai's approach. I believe everything you generate statically gets turned into a file by the compiler for debugging purposes, which it provides references to in the output.
The things people describe as "beautiful" never cease to amaze me... ...but, as they say, beauty is in the eye of the beholder!
Beauty in C++ may be most similar to lipstick on a pig, but we try our best.
I'm also glad I do not write C++ on the daily anymore: luckily my software does not need that kind of performance characteristics.
Earlier quoted context omitted.
Beauty in C++ may be most similar to lipstick on a pig, but we try our best.
I admire you guy keep trying. I'm also glad I do not write C++ on the daily anymore: luckily my software does not need that kind of performance characteristics.
You can write pretty fast and reasonable code nowadays.
The things people describe as "beautiful" never cease to amaze me... ...but, as they say, beauty is in the eye of the beholder!
It’s a bit like a well-kept Victorian home. The amount of work, money, and dealing with discomfort that goes into maintaining one isn’t something I really want to experience for myself. But the amount of skill and craftsmanship that it takes to preserve one is still impressive, and I have to appreciate the respect for history and the care that goes into balancing it with modern concerns.
And talking to people who do live the life is always a great learning experience.