Re: Inline::C to write a DBD ?

2003-10-21 Thread Dean Arnold
> Tim Bunce wrote: > > >On Tue, Oct 21, 2003 at 10:57:22AM -0700, Dean Arnold wrote: > > > > > >>From what you describe it _would_ make sense to first implement a > >separate module providing a "thin" Perl interface to the API, and > >then implement a pure-perl driver that uses that. > > > Dean,

Re: Inline::C to write a DBD ?

2003-10-21 Thread Jeff Zucker
Tim Bunce wrote: On Tue, Oct 21, 2003 at 10:57:22AM -0700, Dean Arnold wrote: From what you describe it _would_ make sense to first implement a separate module providing a "thin" Perl interface to the API, and then implement a pure-perl driver that uses that. Dean, I'm working on the "thinist

Re: Inline::C to write a DBD ?

2003-10-21 Thread Tim Bunce
"thin" Perl interface to the API, and then implement a pure-perl driver that uses that. Note that that's not quite the same as "Inline::C to write a DBD" which was the direction your subject line took us in to start with. Tim.

Re: Inline::C to write a DBD ?

2003-10-21 Thread Dean Arnold
I'm dealing with a *very primitive* API. It operates at a level only *slightly* above socket calls. (Which is why I wrote a Pure Perl version of the driver in the first place). Eg, in order to support simple things like placeholders, a signifcant parse of the SQL is required (the DBMS supports 2 d

Re: Inline::C to write a DBD ?

2003-10-21 Thread Tim Bunce
On Mon, Oct 20, 2003 at 07:15:11PM -0700, Dean Arnold wrote: > Coupla points: > > 1. After (painful) experimentation with Inline::Struct, I've determined > it's got some significant short comings at this time > > 2. Howver, for my purposes, with Inline::C and some clever editting > (thank you Te

Re: Inline::C to write a DBD ?

2003-10-20 Thread Dean Arnold
Coupla points: 1. After (painful) experimentation with Inline::Struct, I've determined it's got some significant short comings at this time 2. Howver, for my purposes, with Inline::C and some clever editting (thank you TextPad!) I can emulate most of Inline::Struct and probably do so in a more c

Re: Inline::C to write a DBD ?

2003-10-20 Thread H.Merijn Brand
On Fri 17 Oct 2003 14:10, Tim Bunce <[EMAIL PROTECTED]> wrote: > On Thu, Oct 16, 2003 at 02:12:36PM -0700, Dean Arnold wrote: > > Has anyone attempted to write a DBD > > using Inline::C (or C++) ? I'm looking into updating a driver > > to selectively switch between a pure Perl implementation, > > a

Re: Inline::C to write a DBD ?

2003-10-20 Thread Tim Bunce
On Fri, Oct 17, 2003 at 09:08:22AM -0700, Dean Arnold wrote: > > On Thu, Oct 16, 2003 at 02:12:36PM -0700, Dean Arnold wrote: > > > Has anyone attempted to write a DBD > > > using Inline::C (or C++) ? I'm looking into updating a driver > > > to selectively switch between a pure Perl implementation,

Re: Inline::C to write a DBD ?

2003-10-17 Thread Dean Arnold
> On Thu, Oct 16, 2003 at 02:12:36PM -0700, Dean Arnold wrote: > > Has anyone attempted to write a DBD > > using Inline::C (or C++) ? I'm looking into updating a driver > > to selectively switch between a pure Perl implementation, > > and a native C i/f to a low level vendor API library if its avai

Re: Inline::C to write a DBD ?

2003-10-17 Thread Tim Bunce
On Thu, Oct 16, 2003 at 02:12:36PM -0700, Dean Arnold wrote: > Has anyone attempted to write a DBD > using Inline::C (or C++) ? I'm looking into updating a driver > to selectively switch between a pure Perl implementation, > and a native C i/f to a low level vendor API library if its available, in

Re: Inline::C to write a DBD ?

2003-10-17 Thread Matt Sergeant
On 16 Oct 2003, at 22:12, Dean Arnold wrote: Has anyone attempted to write a DBD using Inline::C (or C++) ? I'm looking into updating a driver to selectively switch between a pure Perl implementation, and a native C i/f to a low level vendor API library if its available, in order to get more perf

Inline::C to write a DBD ?

2003-10-16 Thread Dean Arnold
Has anyone attempted to write a DBD using Inline::C (or C++) ? I'm looking into updating a driver to selectively switch between a pure Perl implementation, and a native C i/f to a low level vendor API library if its available, in order to get more performance/functionality. Inline::C looked like a