incubator-lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From webmast...@ctosonline.org
Subject Re: [lucy-dev] Argument processing model
Date Sun, 06 Nov 2011 20:01:59 GMT

On Oct 31, 2011, at 8:57 PM, Marvin Humphrey wrote:

> Implementing a C API will be conceptually more complicated, because we will
> have to make some decisions and leave some features out.  We can't support
> default values from C, for example.  

Perl’s gv_fullname function became gv_fullname3 and then gv_fullname4 when more params were
added.  You could conceivably do the same for default parameters, but it might lead to API
explosion, which, come to think of it, renders this a very bad idea.

> I suspect that we will still want to
> autogenerate an intermediate layer which performs some amount of type
> checking, but we will just have to see how things play out.
> 
> Marvin Humphrey
> 
> 


Mime
View raw message