A method for implementing an interpreter comprises determining if a
signature of a native function declared in code for an interpreted
application matches a signature of the native function stored in a
linking mechanism to link a function call to the native function in the
interpreted application to native code implementing the native function;
and invoking the native code only if the signatures match.