1. A process for generating dynamic type code, comprising: selecting a compiler generated type-checked template method for cloning having roughly a similar sequence of instructions as the dynamic type code to be generated, the compiler generated type-checked template method including a mark for custom instructions; injecting dynamic code at the mark for custom instructions in the compiler generated type-checked template method to generate the dynamic type code; wherein the generated code includes variations to the original code of the template method by the number and types of arguments; and compiling the generated code.