[Openmcl-devel] Clozure/Lisp newbie question

R. Matthew Emerson rme at clozure.com
Thu Apr 12 16:41:41 UTC 2012


On Apr 12, 2012, at 9:36 AM, Pascal J. Bourguignon wrote:

> Gerry Weaver <gerryw at compvia.com> writes:
>> Sorry for the delay. I got distracted by work. I just wanted to say
>> thanks for your responses. I was really hoping that things would be
>> reasonably portable. I would seem if one is careful, it's possible to
>> write the bulk of an application with the Mac IDE and then do some
>> minor tweaking for the other platforms if necessary.
> 
> I would say, the two most important thing to ease portability are:
> 
> 1- use portability libraries when they exist (eg. use CFFI instead of
>   native FFI).  Check http://cliki.net for an index.
> 
> 2- you may use implementation specific things, but then do it in some
>   specific "low-level" module that is easily identified and changed
>   when you want to port the application to another plateform.  If well
>   done, this "low-level" module may be the seed for the next
>   portability library ;-)

This is all true if you are trying to write code that will be portable
among different implementations of CL.

I understood the original poster to be asking whether code that runs
on CCL/Mac OS X would be portable to CCL/Linux.  If that's the issue
of interest, then portability libraries like CFFI &c. are not needed.




More information about the Openmcl-devel mailing list