News for hackers. Stuff that matters.
Re:Plywood: A New Cross-Platform Open Source C++ Framework by preshing on Tuesday May 26, 2020 @01:25PM (#23313903)
One example is in: https://github.com/arc80/plywood/blob/master/repos/plywood/s...

Here, only one data member is meant to be serialized. The others members are there to accelerate lookups into the first data member. (Full disclosure: that structure isn't actually serialized yet, but the Arc80 Engine which uses Plywood has similar examples.)

Re:Plywood: A New Cross-Platform Open Source C++ Framework by BruceEel on Tuesday May 26, 2020 @01:43PM (#23314147)
Interesting! Could sufficiently enhanced compile-time reflection (say we do get supercharged CT reflection in C++2b*) be used to implement fully transparent&automatic versioning in serialization frameworks? I know very little on this subject but I think boost serialization, though capable of handling multiple versions of a given class, requires manually 'tagging' source files as being say, version 1,2,etc.
Re:Plywood: A New Cross-Platform Open Source C++ Framework by pjmlp on Tuesday May 26, 2020 @01:46PM (#23314182)
Thanks!