On Wed, 2007-11-28 at 15:56 +0000, Krzysztof Foltman
wrote:
Serialization is necessary because
"large" events can potentially refer
to some "foreign" objects, like handles to OpenGL textures in video
memory and what not :) You cannot assume that all of your "large" event
data will be conveniently placed in a single contiguous buffer in RAM,
because it might not be the most practical way of dealing with them.
No argument with any of this. Passing around reference counted opaque
objects can certainly be useful and I can imagine lots of sexy
applications, I just don't think it needs to be in the event transport
specification when it works just as well outside it.
++
Extensions should be kept as small and limited in scope as possible.
"Do one thing, and do it well"...
-DR-