Theory: Can JIT Compiler be used to parse the whole program first, then execute later?

Posted by unknownthreat on Stack Overflow See other posts from Stack Overflow or by unknownthreat
Published on 2010-12-22T02:48:14Z Indexed on 2010/12/22 2:53 UTC
Read the original article Hit count: 255

Normally, JIT Compiler works by reads the byte code, translate it into machine code, and execute it. This is what I understand, but in theory, is it possible to make the JIT Compiler parses the whole program first, then execute the program later as machine code? I do not know how JIT Compiler works technically and exactly, so I don't know any feasibility in this case. But theoretically, is it possible? Or am I doing it wrong?

© Stack Overflow or respective owner

Related posts about optimization

Related posts about compiler