[Ecls-list] CFFI and DFFI

Gabriel Dos Reis gdr at integrable-solutions.net
Wed Jul 22 15:51:57 UTC 2009


On Wed, Jul 22, 2009 at 9:34 AM, Juan Jose
Garcia-Ripoll<juanjose.garciaripoll at googlemail.com> wrote:

>> Perhaps using libffi (for DFFI) would be a good, solid approach?
>> <http://sourceware.org/libffi/>
>
> I do not know about libffi. Is it just a child of libffcall? Because
> that one is no less a hack than our code is, but that is not the
> point. Those libraries, just like DFFI, represent an unnecessary
> overhead for something that could be done efficiently in ECL.

I emphatically agree.

ECL's way of doing things may look odd, but when you aim at
portability and don't control native code generation as SBCL does,
you ought to aim for simplicity and efficiency while actively
supporting the most advanced uses.  Wherever the function names and
arities are known, it should not take more indirections than it would
in normal C code.

-- Gaby




More information about the ecl-devel mailing list