http://qs1969.pair.com?node_id=1148139


in reply to Perl Module written in C/asm

Be cognizant of "premature optimization" -- Don't drop to C just because you think you ought to, do it when you have to...

Also check out FFI::Platypus. Graham Ollis has a couple of youtube talks about it online: Foreign Function Interface (FFI): Never Need to Write XS Again and FFI Performance

Replies are listed 'Best First'.
Re^2: Perl Module written in C/asm
by BillKSmith (Monsignor) on Nov 19, 2015 at 21:16 UTC
    ctilmes has given you excellent advice. I would add that "when you have to" is usually much more of an economic issue than a technical one. (e.g. Will the improved performance, over the expected life of the program, pay for the added development cost?)
    Bill
Re^2: Perl Module written in C/asm
by QuillMeantTen (Friar) on Nov 20, 2015 at 12:45 UTC

    Thank you very much for that advice, this module is extremely interesting, I will use it henceforth!