[Xapian-devel] GSoC 2012: Erlang Bindings

Olly Betts olly at survex.com
Tue Mar 20 12:37:29 GMT 2012


On Mon, Mar 19, 2012 at 08:47:38AM +0300, Michael Uvarov wrote:
> Thank you for the answers :)
> The idea about Erlang is that it has few interfaces with C/C++:
> - driver:
>     for slow operations, it is a program which waits requests throw stdio.
>     It is a safest variant, for example, for image manipulating.
>     If the C process crash, Erlang is still alive.
> - linked-in driver:
>     The same, but a driver is a dll. If it crashed, one Erlang node crashed
>     also. But it is faster.
>     Use case: RDBMS drivers.
> [...]

Thanks for the explanation.  I spoke briefly to Lenz, who agreed that
a linked-in driver was probably the appropriate approach for interfacing
to Xapian.

Cheers,
    Olly



More information about the Xapian-devel mailing list