Subject: Re: foreign functions and 64-bit hosts

From: Jan Wielemaker <[email-masked]>
Date: Fri, 8 Sep 2000 14:31:37 +0200

On Thu, 07 Sep 2000, Paul Singleton wrote:
>What's involved in writing foreign code that's portable to 64-bit platforms?
>
>(including the obvious, whatever that is :-)

As far as I know only the obvious.  If you write new code, be careful
about the sizes of the various integer types and if you port old code
and used to be lazy and assumed silently that int's and long's are about
the same, at least get yourself a compiler that warns you.

The foreign interface itself shouldn't pose any problems.  It is a 
bit sloppy on lengths of strings and atoms but nowadays atoms are
rarely longer then 2GB :-)

	Cheers --- Jan