Comment 5 for bug 269971

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote : Re: [Bug 269971] Re: (ikarus system $foreign) pointers bugs

On Sep 14, 2008, at 10:04 AM, leppie wrote:

> Excuse the ignorance, but does these pointer operations not duplicate
> the (rnrs bytevectors) library?

These procedures operate on unmanaged memory (i.e., chunks that you
malloc and free), are unsafe, and will be used mostly internally.
Bytevector operations are safe and good, but they operate on Ikarus-
managed bytevectors whose addresses may change due to GC between any
two operations. I guess one could provide conversion procedures
between bytevectors and these blobs as an alternative to providing
all of these procedures.

These are still in early stages of development, and their interface
will change many times before becoming stable.

Aziz,,,