
On 2/25/13 12:03 PM, Stefan Strasser wrote:
Hi everyone,
I'm thinking about finishing a library that was proposed a couple of years ago. It was pretty far along, and there is documentation available in the sandbox (somewhat outdated):
https://svn.boost.org/svn/boost/sandbox/persistent/libs/persistent/doc/html/...
It is a library with the goal of storing C++ objects on disk, with an interface that is as close as possible to accessing regular C++ objects in memory. A very simple example could look like this:
shared_loc<person> p=...; { transaction tx; p->name="..."; p->address="..."; tx.commit(); }
It is based on Boost.Serialization, but automatically maintains a consistent state on disk (ACID transactions), which can be updated incrementally.
Part of its code was moved to a library named Transact to work alongside other transactional resources (like memory) and is available in the sandbox: https://svn.boost.org/svn/boost/sandbox/transaction/boost/transact/
I'd like to know whether the boost community is still interested in such a library, and I suppose there are quite a few new people here so your comments are welcome as well.
I haven't had a chance to look at it yet, but a persistence library is very desirable. Jeff