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