On Wed, Sep 16, 2009 at 6:17 PM, Ken Treis <ken@miriamtech.com> wrote:

On Sep 16, 2009, at 12:02 PM, Douglas Brebner wrote:

> One minor point is that whether integers and longs are different
> depends
> on the platforms data model. Under MS Win64, integers and long
> integers
> are both 32bit, while on most unixes integers are 32bit while long
> ints
> are 64bit. (LLP64 and LP64 models respectively)
>
> I don't know if this is important though.

Good point. All of my platforms are LP64 (Mac OS X and Linux x86-64),
and my main objective at present is to get this working for an
application I'm committed to build, so I was ignoring those sorts of
cross-platform details.

+1. Please take into consideration to make Alien cross platform!!! Just as FFI is.

Perhaps there would need to be new primitives for the basic size of
each relevant C type? I'm anxious to hear what Eliot might have to say
about this since he's got about 2000x more experience with this than I
do.

--
Ken Treis
Miriam Technologies, Inc.


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project