develooper Front page | perl.perl5.porters | Postings from November 2001

RE: [PATCH h2xs] Use of static data in XS modules

Thread Previous | Thread Next
From:
Paul Marquess
Date:
November 6, 2001 02:59
Subject:
RE: [PATCH h2xs] Use of static data in XS modules
Message ID:
AIEAJICLCBDNAAOLLOKLCECKDEAA.Paul_Marquess@Yahoo.co.uk
From: Jarkko Hietaniemi [mailto:jhi@iki.fi]

> On Mon, Nov 05, 2001 at 11:22:59PM -0000, Paul Marquess wrote:
> > From: Jarkko Hietaniemi [mailto:jhi@iki.fi]
> >
> > > On Tue, Oct 30, 2001 at 04:50:16PM +0000, Tim Bunce wrote:
> > > > On Tue, Oct 30, 2001 at 04:13:01PM -0000, Paul Marquess wrote:
> > > > >
> > > > > Have we reached the stage where we need to seriously consider
> > > including
> > > > > Devel::PPPort in the core (with a parallel existence on CPAN)?
> > > >
> > > > I think so.
> > >
> > > Fine with me, too.  (The name "ppport.h" is also less likely to
> > > cause conflicts, me like.)
> >
> > How does this sound for a plan?
> >
> >   1. Devel::PPPort
> >
> >      Port Devel::PPPort into the core. The biggest change
> needed here is to
> > get
> >      Devel::PPPort to install itself, and for it to provide an
> interface to
> >      allow h2xs to get a ppport.h file.
> >
> >   2. h2xs
> >
> >      Get h2xs to add an "#include ppport.h" in the .xs file and use
> >      Devel::PPPort to generate the ppport.h file.
> >
> >   3. Bells & Whistles
> >
> >      h2xs could write a section in Makefile.PL to (optionally) check if
> >      Devel::PPPort is installed. If it is installed and it is
> newer than the
> >      version than was used to create the ppport.h file included with the
> > module
> >      it is building, it could automatically upgrade the ppport.h file.
> >
> >      Devel::PPPort could be given the intelligence to check for newer
> > versions
> >      of itself on CPAN.
>
> The plan sounds okay to me.  The Bells and Whistles section sounds
> a little bit ambitious, though.

The first bell/whistle shouldn't be that hard to do, the fetching from CPAN
is.

I don't intend doing either to start off with.

> > I don't mind doing 1 & 2 above, at least, but I'd prefer to
> have Kenneth's
> > approval to modify his module first. Does anyone know if he is
> still active
> > in the Perl world?
>
> Haven't heard/seen anything for a long long long time.  Last I heard
> he was working for Palm, but that was also long ... you get the idea.

Right-oh. I've made a start on it -- should have a first cut available in a
couple of days.

Paul


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About