Humm... One of the pitfalls would be argument conversion/marshalling. Could we use the .XS subsystem to marshall arguments for us? I guess the DLL would work for simple cases, ints, strings, but imagine if we need to pass objects/etc... to a perl function from C or vice versa.
This would meen that the person writing the C code would need to have a good understanding of XS, not trivial. Daniel Shane
