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.


-- 
                      David Nicol 816.235.1187 [EMAIL PROTECTED]
                                    "Described as awesome by users"

Reply via email to