|
Boost : |
Subject: [boost] [persistent] Library preview: Persistent
From: Stefan Strasser (strasser_at_[hidden])
Date: 2013-02-25 12:03:26
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/index.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.
Thank You!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk