tech-pkg archive

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

Re: new option "buildxs" for Perl modules

Klaus Heinz wrote:

I would like to introduce an option

  buildxs       build Perl XS module(s)

for Perl modules. Although I can come up with only one example (Net-DNS)
at the moment I am quite sure I have seen other Perl modules where you
can use native libraries (through the XS mechanism) or pure Perl

Just to clarify -- this is to allow choosing between a pure Perl implementation or a compiled, loadable shared object implemenation? I assume the compiled version is typically faster. What are the advantages of the pure Perl one in a pkgsrc context? It seems like we should be choosing to build the XS version any time such a choice is available.


        -- Johnny C. Lam

Home | Main Index | Thread Index | Old Index