Re: Immediate pointers

2011-03-30 Thread Andy Wingo
On Sun 30 Jan 2011 23:46, l...@gnu.org (Ludovic Courtès) writes: > The problem is that each ‘make-pointer’ call (and ‘dereference-pointer’, > etc.) conses. This can make conversion to/from C quite inefficient. We could simply allow Scheme integers to work as pointers. It's not very nice though.

Re: Immediate pointers

2011-01-31 Thread Stefan Israelsson Tampe
Hi, I cannot say that I'm in the tag savy bin. But out of the box I remember that I kind of needed this in the guile-unify project. The solution I'm trying there is to look at address ranges when checking for the object type and use that to dispatch to a unify object or to work with a SCM poin