News for hackers. Stuff that matters.
Re:C++ object model and other internals explained with simpl... by malkia on Tuesday March 29, 2011 @06:08PM (#2384714)
In our past games, we had extensive C++ serialization (marshalling, pickling, whatever you call it).

We had to fight gcc 2.95, metrowerks, and few other compilers putting the "virtual table pointer" at different places - begining of object, end, etc. Then alignment differences (not strictly C++), and bitfields. Hopefully mangling was avoided, as we did not had to reference at runtime the data, we had pointers.

It was quite messy, and you could not reuse exported data - had to be for each platform/compiler.

There are no comments on this comment yet.