473,471 Members | 2,613 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Persistent STL?

Will you help an outsider trying to trace the current state of
persistent object technology?

"I expect that there will be persistent object stores with
STL-conforming interfaces fitting into the STL framework within the
next year."
--Alexander Stepanov, 1995

Has this happened? (In 1996 or another year.)

Thanks a lot,
--MAA
Jul 22 '05 #1
4 2438
M?rio Amado Alves wrote:
Will you help an outsider trying to trace the current state of
persistent object technology?
I don't know the state of this but Objectivity offered at some
point STL-like containers which could be made persistent.

Unfortunately, it is impossible to create proxy containers
conforming to the container or sequence requirements (essentially,
because operator*() is required to return a reference). This would
allow some lightweight persistance mechanisms, e.g. persistent
containers. Of course, my property map approach would solve this
problem, too (well, actually, you wouldn't necessarily need property
maps per se but the separation of reads and writes).
"I expect that there will be persistent object stores with
STL-conforming interfaces fitting into the STL framework within the
next year."
--Alexander Stepanov, 1995


I think he was wrong. Some of the decisions in STL make it hard if not
impossible to create persistent object stores with STL conformant
interfaces.
--
<mailto:di***********@yahoo.com> <http://www.dietmar-kuehl.de/>
<http://www.contendix.com> - Software Development & Consulting
Jul 22 '05 #2

"M?rio Amado Alves" <am*********@netcabo.pt> wrote in message
news:17**************************@posting.google.c om...
Will you help an outsider trying to trace the current state of
persistent object technology?

"I expect that there will be persistent object stores with
STL-conforming interfaces fitting into the STL framework within the
next year."
--Alexander Stepanov, 1995

Has this happened? (In 1996 or another year.)


In addition to Dietmar's response, and depending on your definition of
"persistent" there is a "serialization" library near completion at
www.boost.org. This is an excellent library by Robert Ramey which in
pre-release form can be downloaded from www.rrsd.com. It offers
out-of-the-box support for most(if not all) STL containers, along with
boost::shared_ptr.

Jeff F.
Jul 22 '05 #3
In message <ca**********@bluegill.adi.com>, Jeff Flinn
<NO****@nowhere.com> writes

"M?rio Amado Alves" <am*********@netcabo.pt> wrote in message
news:17**************************@posting.google. com...
Will you help an outsider trying to trace the current state of
persistent object technology?

"I expect that there will be persistent object stores with
STL-conforming interfaces fitting into the STL framework within the
next year."
--Alexander Stepanov, 1995

Has this happened? (In 1996 or another year.)


In addition to Dietmar's response, and depending on your definition of
"persistent" there is a "serialization" library near completion at
www.boost.org. This is an excellent library by Robert Ramey which in
pre-release form can be downloaded from www.rrsd.com. It offers
out-of-the-box support for most(if not all) STL containers, along with
boost::shared_ptr.


My feeling is that "persistent" ought to mean not just "serializable"
but also "transparent". That would require, among other things, that:

- use of a reference/pointer automatically loads the referenced
persistent object;
- some kind of GC process removes unused objects from memory, saving as
necessary;
- the library manages how objects are located within the file.

All of this is perhaps nearer to the idea of an object database than
simple persistent objects. I did a little searching on that subject a
few years ago, but didn't pursue it far. There were a variety of
solutions being offered, both commercial and free, but I don't think
there's anything which offers complete STL compatibility.

In the commercial sphere the big names seem to be Objectivity,
Versant/Poet, ObjectStore... and no doubt many others by now; at the
free end there's TEXAS from the University of Texas
(ftp://ftp.cs.utexas.edu/pub/garbage/texas/, last changed 1996) and
POST++ (http://www.garret.ru/~knizhnik/post/readme.htm)

--
Richard Herring
Jul 22 '05 #4
Excelent information! Extremely helpful! Thanks all very much!

I feel I owe some explanation of what I need this for. I'm preparing a
presentation on persistent containers, with references to the STL, for
RST 2004 (http://dmi.uib.es/~AE2004) I just wanted to make sure I
would not be boobooing too much when I say Stepanov's prediction in
1995 for 1996 is still uncomplished in 2004. I'm also developing a
persistent graph container called Mneson
(http://www.liacc.up.pt/~maa/mnesosn). It's in Ada but there are plans
to provide interfaces for C++ (as well as to C and Java). All this is
connected to the fact that the upcoming Ada.Containers library for Ada
2005 is partially modelled on the STL. I'll be thrilled to discuss
more if you want but please note I'm not a regular of this group so
please do it privately or in comp.lang.ada. Thanks.
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Randell D. | last post by:
Folks, I currently connect to my db with PHP code that uses non-persistent connections. I've read that persistent connections can help performance since a connection to the db will use an...
3
by: Derek Fountain | last post by:
For a low-ish traffic website that is doing the simple "build pages from HTML templates and info in a database" kind of thing, do the wise folks in this newsgroup advocate connecting and...
16
by: Paul Rubin | last post by:
I've had this recurring half-baked desire for long enough that I thought I'd post about it, even though I don't have any concrete proposals and the whole idea is fraught with hazards. Basically...
0
by: obhayes | last post by:
Hi All, Im using classic ASP (3.0) and I have a web farm with 2 webservers (webserver A and webserver B, both windows server 2003). I do not want to store any client specific information on the...
1
by: brad | last post by:
Hi, Im using classic ASP (3.0) and I have a web farm with 2 webservers (webserver A and webserver B, both windows server 2003). I do not want to store any client specific information on the...
0
by: Kepler | last post by:
I'm testing very basic FormsAuthentication and having trouble with non-persistent cookies. Once authenticated with a non-persistent cookie, if I leave the browser alone for 30 minutes,...
1
by: Eric Lindsay | last post by:
I am trying to understand the differences between and uses of persistent, default and alternate styles. I have read http://www.w3.org/TR/REC-html40/present/styles.html section 14.3.2 on...
3
by: sanchita | last post by:
Hello everyone, I didn't get any response in "Security" forum hence posting here again. I am having problem with persistent cookies. Even after setting "CreatePersistentCookie" to true in...
9
by: mel | last post by:
Hi all, I need a persistent TCP connection with my web server over page reloads. This means that, even if the user goes to a different page (in my domain), I want to keep a TCP connection...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.