+1
(and thanks for the reminder how close to "banging rocks together in
a cave" C++ is :)
geir
On Dec 27, 2006, at 5:26 PM, Paul Querna wrote:
I propose the creation of a new Apache Lab, called "dpack".
dpack, a C/C++ object serialization library.
Taking a departure from most C++ sterilization libraries, the goal
would
be to keep dpack as simple as possible, and avoid using 'advanced' C++
features like templates or generic programming.
Using a 'base' class, users of the library would inherit from this,
and
use member functions to indicate exportable fields. No Macros or
other
ugly things would not be required.
The library would initially only contain a buffer or message based
API,
but a stream based packing and unpacking API might be useful in the
future. dpack would also provide the ability to version objects
including adding or removing fields, and default values.
Initially I would like to get a working C++ version of the library,
but
I believe with the same basic design, it should be possible to also
create a pure C based API using structs and a few callback
functions per
type.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]