1. A method for executing a managed application that calls a procedure in a native library comprising: mapping instructions of a managed application using a non-host instruction set architecture (ISA) executing in a virtual machine on a host platform using a host instruction set architecture (ISA), to the host ISA, the virtual machine compatible with the host ISA, wherein the host ISA and non-host ISA are different ISAs; executing a procedure in the native library, based on the mapping, the procedure associated with instructions executing in the managed application; and when data is called for by the procedure in the native library, retrieving a reference associated with the data when the data is called for by the procedure in the native library, the reference defined by the mapping and wherein mapping information is passed to the procedure in the native library.