note
syphilis
<i>I've investigated writing OO using Inline::C, but even then the wrapping process that mates C to XS to Perl just sucks away most of the performance gains. Writing XS directly can save some of that ... </i><br><br>I see (from time to time) vague allusions to the notion that XS can achieve something that Inline::C cannot - and the above quote is just one more example of that. <br><br>But then ... the allusions are so vague that I'm never sure that I've understood correctly :-)<br><br>Are you saying that there's some performance improvement to be had by writing XS directly (that can't be achieved with Inline::C) ? If so, could you (or anyone) give an example - more for my own edification, rather than for any other reason. <br><br>Given that Inline::C merely autogenerates an XS file, I find it hard to comprehend that the one has any advantage over the other (re performance). <br><br>I'll go back to sleep, now :-)
<br><br>Cheers,<br>Rob
599721
599848