A portable foreign function interface library