fthiesen
Show HN: Porting Open3D to Python without writing a LoC
CppCon: C++ Beats Rust in JSON Serialization [video]
Another option would be to copy some stuff over to the compiler-explorer and use a "single-header" version of the library there. I can facilitate this in case you are interested. They have reflection for EDG, GCC and Clang (I am only working with clang for now)
Show HN: Mirror_hash – Hash anything with C++ reflection
"I love to specialize hash functions for my classes" (No One)
Mirror_bridge: Outrunning V8, PyPy, and LuaJIT with C++26 Reflection
I want to make this project as mature as possible for when support arrives at the upstream version of clang, gcc and msvc. Feedback is appreciated!
It is officially part of C++26, so only a matter of time before being part of the major compilers (:
I've added a pre-built image in the github repo, feel free to try it out if you are curious and let me know if you face any issues/bugs!
Will add support for it as soon as I have some time to spare!
Another thing that I can't make work elegantly is compiling template functions from C++, since we have no clue to guess which types will be instantiated in the Python code (and they can even depend on user input, so only determined at runtime)
This idea of using C++26 compiler just for codegen sounds interesting. Will definitely give it some thought, thanks for the suggestion (: