mldonkey-users
[Top][All Lists]
Advanced

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

Re: [Mldonkey-users] Contributions in C to mldonkey


From: Goswin Brederlow
Subject: Re: [Mldonkey-users] Contributions in C to mldonkey
Date: 31 Jan 2003 16:55:23 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Military Intelligence)

"Sergio D. Bruder" <address@hidden> writes:

> On Fri, Jan 31, 2003 at 12:47:41PM +0100, MLdonkey wrote:
> > 
> > mldonkey really suffers from its lack of developers. Since the main
> > problem is that a lot of people don't know ocaml, I think there is
> > still a way for them to contribute to mldonkey development: simply by
> > writting C code to perform the actions they want. The only problem
> > will be that:
> > 
> > - the C code has no access to mldonkey internals
> > - the C code cannot communicate (open sockets, read/write, etc)
> > 
> > However, a lot of things can be performed this way: for example, a
> > parser for jigle pages or sharereactor html pages could be done like that:
> > 
> > a structure (a C struct) containing the search would be passed to a
> > first C function to generate the url to be queried:
> > 
> > struct search {
> >   search_keywords: char*;
> >   search_num : int;
> > };
> > 
> 
> What about python? I dont know if a ocaml/python interface is doable
> or not, But python is a high level language that is much more
> flexible than C for what you want to do, and have more 'audience'
> than ocaml, I think.

python has runtime typechecking and can interface with C. I don't
think you can go directly from ocaml to python and back without some
trouble but via a common C interface should be easy.

MfG
        Goswin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]