On Tue, 23 Dec 2003, Dan Sugalski wrote:

> I'm pondering, once again, more things with the Postgres interface. 
> In this case I need to pass in arrays of ints (and floats, I suppose) 
> and arrays of char pointers. My first thought is to have a new type 
> that converts an Array (or something like it) to a C array, either of 
> ints or char pointers. That'd solve my problem quite nicely. But... 
> that begs the question--is it going too far? Is this the sort of 
> stuff that ought to have custom C interfaces for, rather than adding 
> in Yet More Types to the NCI interface?
 
 Speaking personally, being able to automatically convert a Parrot array
 to an array of ints or floats would be very useful, but that's because I
 do fairly hard-core number crunching in my day job. What are the 
 arguments againtst putting something like this in the NCI interface?

 Simon

Reply via email to