1. A method of optimizing generation of natively executable code from non-native code, the method comprising: receiving a source file including binary code configured for execution according to a non-native instruction set architecture; translating one or more code blocks included in the executable binary code to source code; applying an optimizing algorithm to instructions in the one or more code blocks, the optimizing algorithm selected to reduce a number of memory address translations performed when translating the source code to native executable binary code, thereby resulting in one or more optimized code blocks; and compiling the source code to generate an output file comprising natively executable binary code including the one or more optimized code blocks.