I'm also a bit lost between all the different options (plugins,
NativeBoost, FFI, Alien).
Thanks for the clarification !
Will this interface handle callbacks ?
On 08/01/12 04:37, Stéphane Ducasse wrote:
Hi Udo
indeed this is a bit the mess :).
As soon as athens1.0 is out (planned for the end of the month). We will ask
igor to clean the system. Our idea
is to provide one API where we can plug the two infrastructures
NativeBoost (we are writing a documentation too but I should pair write
with igor so it goes slowly :(
With nativeBoost you can simply invoke C functions. For example the
cairo binding is a good example to show how it works. The chapter
is on the pharobooks inria gforge svn, I can send it to you if you want.
FFI (when esteban arrives I would like to write the other chapter) and
makes sure that FFI works also like a charm
on all the platforms.
Stef
All,
what's the best way (at the moment& in the future) to call external libraries
from Pharo. I'm a bit confused at the moment will all the stuff going around FFI,
NativeBoost ...
Is there maybe an abstraction layer above all those native-call mechanisms
somewhere?
Best Regards,
Udo
--
http://tulipemoutarde.be
BE: +32 (0)65 709 131
CA: +1 778 558 3225