Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Follow the Interface? (XS)

by liz (Monsignor)
on Jul 24, 2003 at 14:29 UTC ( #277550=note: print w/ replies, xml ) Need Help??


in reply to Re: Follow the Interface? (XS)
in thread Follow the Interface?

...I strongly feel that the best approach is to write the XS code to be *very* C-centric...

This sounds like a tool that would take an API description of an external library and generates the perl modules source for the thin layer from that. Does such a beast exist already (not thinking about h2xs, as that is only fetching constants, right?)

Update:So you mean you should use SWIG to get the thin Perl layer and work from there?

Liz


Comment on Re: Re: Follow the Interface? (XS)
Re^3: Follow the Interface? (XS)
by tye (Cardinal) on Jul 24, 2003 at 14:44 UTC

    I've never used SWIG. But that sounds like a worthwhile suggestion that would often work well.

                    - tye

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://277550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-04 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls