Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: XS Mechanics

by Brutha (Friar)
on Nov 17, 2004 at 12:31 UTC ( [id://408377]=note: print w/replies, xml ) Need Help??


in reply to Re: A problem converting C code to XS
in thread A problem converting C code to XS

Have a look at these articles by Steven McDougall. They did help me most of all:

http://world.std.com/~swmcd/steven/perl/pm/xs/intro/

Quote:

This article is about XS. It explains what it is, why it is, how it works, and how to use it. It includes a complete, working example of an XS module, and a stub module that you can use as a starting point for your own code. It is an express goal of this article to provide the background and information necessary for you to write your own XS modules.

This article is in five parts

November - Introduction motivation, definitions, examples
December - Architecture the Perl interpreter, calling conventions, data representation
January - Tools h2xs, xsubpp, DynaLoader
February - Modules Math::Ackermann, Set::Bit
March - Align::NW Needleman-Wunsch global optimal sequence alignment

And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
(Terry Pratchett, Small Gods)

Replies are listed 'Best First'.
Re^3: XS Mechanics
by Anonymous Monk on Nov 23, 2004 at 15:23 UTC
    Thanks to both of you. Those are some really good resources.

    Much appreciated!

    Lyle

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-24 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found