[Ecls-list] FFI paradigms (was Re: ECL 10.2.1 RC)

Matthew Mondor mm_lists at pulsar-zone.net
Sat Feb 13 22:53:57 UTC 2010


On Sat, 13 Feb 2010 23:36:13 +0100
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:

> Nothing to add here. UFFI was and is very limited. CFFI is probably the way
> to go for portable code, and is even favored for standardization. However,
> 1) the ECL backend is crappy, 2) it will also not support GCC alignment
> extensions and 3) it may still have problems with structures if a compiler
> makes weird design choices. Problem 3) is solved by the fact that there are
> more eyes watching CFFI and ensuring that it works.

And I guess that 4) it has various external dependencies (at least the
current implementation), 5) performance might be affected because of
the dynamic function lookup per call :)  But indeed for portability
it's the best target currently...
-- 
Matt




More information about the ecl-devel mailing list