Re: Software Architecture/Design

Alen Ladavac <[email protected]> Wed, 16 Jun 2010 14:58:47 +0200
Newsgroups gmane.games.devel.sweng
Organization Croteam
Message-ID <[email protected]>
James wrote at 6/16/2010:
> I think this is becoming feasible with compilers like LLVM. GCC also has a plugin API now, which would give one the opportunity to insert a data emitter at the appropriate point in the compilation pipeline. 

> This data could then probably be linked into your final executable as an extra section, and read at runtime. Thus making it useful for GC (no more bugs introduced by forgetting to mark references), serialisation, runtime introspection, signals/slots systems, etc.

Note that plain C++ declarations will be inadequate for most tasks like serialization, networking etc. You need extra tags to mark data that is not serialized, or various ways to relink and otherwise interpret some data differently.

JM2C,
Alen


_______________________________________________
Sweng-Gamedev mailing list
[email protected]
http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com