lightweight replacement for .xs files, similar to Inline::C