Buffer PMC RFC

Vasily Chekalkin bacek at bacek.com
Fri Jun 4 05:32:47 UTC 2010


On Fri, Jun 4, 2010 at 10:23 AM, Andrew Whitworth <wknight8111 at gmail.com> wrote:
> +1 from me. That sounds like a very good idea.
>
> There are some other things I would like to add to such a PMC, eventually:
>
> * pin/unpin (especially if we have a copying/compacting collector)

We don't have way to pin/unpin ATTRibutes anyway.

> * mmap (especially to make a bit of memory executable, which would be
> very very useful in JIT)
> * memory-mapping files (I know mmap does this on *nix)

Yes. It can be very neat feature.

> * Ability to freeze/thaw other PMCs to the buffer instead of a STRING
> might be nice too.

And this one is definitely "must-have" feature.

-- 
Bacek


More information about the parrot-dev mailing list