1. A hybrid dynamic code compiling device, comprising: a parser, used to receive and parse a first dynamic code to divide the first dynamic code into compilable blocks and non-compilable blocks; a native code generator, coupled to the parser, used to generate a native code according to the compilable blocks; and a dynamic code rewriter, coupled to the parser, used to rewrite the non-compilable blocks to generate a second dynamic code, wherein the second dynamic code has function calls which communicate between the first dynamic code and the native code.