Hi,

Mark H Weaver <m...@netris.org> skribis:

> l...@gnu.org (Ludovic Courtès) writes:
>> Mark H Weaver <m...@netris.org> skribis:

[...]

>>> * FFI overhaul
>>>    * Native code generation where possible, else generated C code
>>
>> For ‘pointer->procedure’, we could use GNU lightning to generate subrs,
>> which would save us from the need to go through ‘foreign-call’.
>
> If someone wants to work on this, I'd be glad, but personally I'm not
> interested in integrating GNU lightning.  This TODO list item assumed
> that we'd first have our own native compiler, even though I forgot to
> put "native compiler" on the list.

Oh, OK.  I was too short-term-minded, I guess.  :-)

>> This would make things equivalent to hand-written subrs in terms of
>> performance.  I’m not sure it’s crucial, though.
>
> A faster FFI would enable us to use it for many more things, including
> for frequently-called procedures where performance is crucial (such as
> GMP or libunistring)

Indeed.

Thanks,
Ludo’.

Reply via email to