in reply to Re^2: XS: Converting a data structure in a string
in thread XS: Converting a data structure in a string

Agreed. I was under the impression the OP was trying to dip his toes into mixing C with perl code, and personally the only approach to that which doesn't send me slinking away shamefully is with Inline::C ;-)


Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan

Replies are listed 'Best First'.
Re^4: XS: Converting a data structure in a string
by creamygoodness (Curate) on Nov 04, 2005 at 17:28 UTC

    I started out with Inline::C, too. The hard part is establishing proficiency with a sufficent number of perlapi macros. Once you have that down, the leap from Inline::C to XS is pretty small.

    --
    Marvin Humphrey
    Rectangular Research ― http://www.rectangular.com