You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by Albin Stigö <al...@gmail.com> on 2011/10/22 11:32:11 UTC

[lucy-dev] C bindings?

Hi,

I just discovered Lucy during my quest for full text search on iOS.

As an experiment, I'm interested in writing bindings to objective c,
is anyone working on this already? Are there c bindings?

--Albin

Re: [lucy-dev] C bindings?

Posted by Albin Stigö <al...@gmail.com>.
I had never heard of Hyper Estraier before... I've looked into it know
and it too seems like a great piece of software, but relatively
unknown?

--Albin

On Sat, Oct 22, 2011 at 4:37 PM, Peter Karman <pe...@peknet.com> wrote:
> Albin Stigö wrote on 10/22/11 8:42 AM:
>> On Sat, Oct 22, 2011 at 3:27 PM, Marvin Humphrey <ma...@rectangular.com> wrote:
>>> On Sat, Oct 22, 2011 at 02:57:18PM +0200, Albin Stigö wrote:
>>>> Ok so now I know whats involved... me to a bit put off by the build system :-)
>>>
>>> Heh.  We're working on it.  :)
>>
>> Build systems in general make life difficult :) There are already to
>> many of them... :)
>>
>
> The build system itself (charmonizer) is one thing, and it is all C. Clownfish I
> don't consider part of the build system per se; I think of it as a code
> generator. But that could be too subtle a parsing of the phrase 'build system'.
>
>
>> Only for my purposes that is... I definitely agree - C is common
>> ground, and I don't there is a pure C full text search library. Well
>> maybe sqlite fts3 but it's not only search.
>>
>
> there are (e.g. hyperestraier) but not many, and none with the mindshare of
> something like Lucene (and over time, Lucy).
>
>
> --
> Peter Karman  .  http://peknet.com/  .  peter@peknet.com
>

Re: [lucy-dev] C bindings?

Posted by Peter Karman <pe...@peknet.com>.
Albin Stigö wrote on 10/22/11 8:42 AM:
> On Sat, Oct 22, 2011 at 3:27 PM, Marvin Humphrey <ma...@rectangular.com> wrote:
>> On Sat, Oct 22, 2011 at 02:57:18PM +0200, Albin Stigö wrote:
>>> Ok so now I know whats involved... me to a bit put off by the build system :-)
>>
>> Heh.  We're working on it.  :)
> 
> Build systems in general make life difficult :) There are already to
> many of them... :)
> 

The build system itself (charmonizer) is one thing, and it is all C. Clownfish I
don't consider part of the build system per se; I think of it as a code
generator. But that could be too subtle a parsing of the phrase 'build system'.


> Only for my purposes that is... I definitely agree - C is common
> ground, and I don't there is a pure C full text search library. Well
> maybe sqlite fts3 but it's not only search.
> 

there are (e.g. hyperestraier) but not many, and none with the mindshare of
something like Lucene (and over time, Lucy).


-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Re: [lucy-dev] C bindings?

Posted by Albin Stigö <al...@gmail.com>.
On Sat, Oct 22, 2011 at 3:27 PM, Marvin Humphrey <ma...@rectangular.com> wrote:
> On Sat, Oct 22, 2011 at 02:57:18PM +0200, Albin Stigö wrote:
>> Ok so now I know whats involved... me to a bit put off by the build system :-)
>
> Heh.  We're working on it.  :)

Build systems in general make life difficult :) There are already to
many of them... :)

>
> Lucy is easy to use, and has gotten easier over time as we've conscientiously
> incorporated user feedback.  Lucy is not necessarily easy to hack on yet, but the
> same forces that made it easy to use are at work, and eventually, Lucy *will*
> be easy to hack on.
>
>> Maybe just porting it to objective-c wouldn't be so much worse..?
>
> Porting what to Objective-C, the Clownfish compiler?  Other people are going
> to be just as uncomfortable with Objective-C as some are with Perl.  C itself
> represents the only common ground.

Only for my purposes that is... I definitely agree - C is common
ground, and I don't there is a pure C full text search library. Well
maybe sqlite fts3 but it's not only search.

>
> Marvin Humphrey
>
>

Re: [lucy-dev] C bindings?

Posted by Marvin Humphrey <ma...@rectangular.com>.
On Sat, Oct 22, 2011 at 02:57:18PM +0200, Albin Stigö wrote:
> Ok so now I know whats involved... me to a bit put off by the build system :-)
 
Heh.  We're working on it.  :)

Lucy is easy to use, and has gotten easier over time as we've conscientiously
incorporated user feedback.  Lucy is not necessarily easy to hack on yet, but the
same forces that made it easy to use are at work, and eventually, Lucy *will*
be easy to hack on.

> Maybe just porting it to objective-c wouldn't be so much worse..?

Porting what to Objective-C, the Clownfish compiler?  Other people are going
to be just as uncomfortable with Objective-C as some are with Perl.  C itself
represents the only common ground.

Marvin Humphrey


Re: [lucy-dev] C bindings?

Posted by Albin Stigö <al...@gmail.com>.
Ok so now I know whats involved... me to a bit put off by the build system :-)

Maybe just porting it to objective-c wouldn't be so much worse..?

--Albin

On Sat, Oct 22, 2011 at 1:48 PM, Marvin Humphrey <ma...@rectangular.com> wrote:
> On Sat, Oct 22, 2011 at 11:32:11AM +0200, Albin Stigö wrote:
>> I just discovered Lucy during my quest for full text search on iOS.
>
> :)
>
>> As an experiment, I'm interested in writing bindings to objective c,
>> is anyone working on this already?
>
> Indirectly.
>
> Some potential binding contributors have been put off because a crucial
> component they would need to modify, the Clownfish compiler, was written in
> Perl.  Development efforts right now are focused on porting it to C.
>
> This thread should provide some background and give you an idea about what's
> involved:
>
>    http://markmail.org/message/jfa2jheygf6a6qvt
>
> Cheers,
>
> Marvin Humphrey
>
>

Re: [lucy-dev] C bindings?

Posted by Marvin Humphrey <ma...@rectangular.com>.
On Sat, Oct 22, 2011 at 11:32:11AM +0200, Albin Stigö wrote:
> I just discovered Lucy during my quest for full text search on iOS.

:)

> As an experiment, I'm interested in writing bindings to objective c,
> is anyone working on this already?

Indirectly.

Some potential binding contributors have been put off because a crucial
component they would need to modify, the Clownfish compiler, was written in
Perl.  Development efforts right now are focused on porting it to C.

This thread should provide some background and give you an idea about what's
involved:

    http://markmail.org/message/jfa2jheygf6a6qvt

Cheers,

Marvin Humphrey