At 06:37 PM 4/24/2001 -0500, David L. Nicol wrote:
>Uri Guttman wrote:
>
> > i was looking at dan's PMC arena allocator struct and it reminded me of
> > something an older language can do (which MJD has likened to an early
> > perl :). ever heard of AREA in PL/I? it was a large chunk of ram
> > dedicated to allocate memory from. what was special is that all pointers
> > generated by these malloc calls (i forget the pl/1 syntax but it doesn't
> > matter) were OFFSETS into the area and not direct pointers. the reason
> > for this was that you can make a complex tree structure out of this AREA
> > and then write the whole thing to disk as a single chunk, and in another
> > program read it back in and your structure is back. since all the
> > pointers are relative to the base of the AREA, you can read it back into
> > any address in your virtual space.
>
>
>i like it.  How do I indicate that my variable is to be taken
>from the (which) persistent space at a language level?  Or would this
>be an internal infrastructure service which other things could build on.

I'm not sure we'll do either. It's a neat idea, but at the moment things 
are multi-tiered enough that I'm not sure it'll work without enough extra 
effort that'll make a plain general-purpose serialization better.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to