[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Glimpse.pm anyone?



At 05:28 PM 5/16/00 -0400, Sam Tregar wrote:

>No, I mean calling into glimpse from Perl.  Basically, I'd roll glimpse as
>a library and link it with some interface code to make it callable from
>Perl.  That way instead of doing something like:
>
>   $results = system('glimpse -C search');
>
>You could do something like:
>
>  $results = Glimpse->search('-C', 'search');
>
>Or something.  This would avoid the fork/exec penalty of system().
>

Ok, I see - sure, that makes sense too.   Have you measured if that fork is
significant on your system?   Glimpse itself may exec cat, agrep, & sort -
I'm afraid the code uses exec pretty freely.  

>
>That's all well and good as long as the project is totally separate from
>Glimpse.  It might not be possible to do it without making changes to
>glimpse itself...  It could still be distributed as a patch, but that's
>pretty unusable for the average user.

Good point.  If you would be willing to release it with the same license as
glimpse (owned by the UofA & distributed by Internet Workshop) then we can
give you some redistributable commercial licenses in exchange.  Its kind of
a new experiment, I just got the legal permission to exchange resalable
licenses for development work, and I'm hoping it can be a way of
encouraging more cooperative development between programmers who need to be
paid for their work.  Would you be interested in this route?

--G

ps That goes for other developers too, I've mentioned it to a few people
and will write something up on the site soon, but all are welcome right now
to do this (get licensed copies of the software to sell in exchange for
development work).  Just talk to me and we can set it up. 
------------------------------------------------------------
Golda Velez         gvelez@iwhome.com	        520-620-6878
Internet Workshop                          http://iwhome.com
Webglimpse Search Software             http://webglimpse.net
		~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Help organize the world - index your own corner of the web