dlsrb6342
dlsrb6342

Reputation: 368

JIT compilation vs Dynamic compilation

what's difference between JIT compilation and Dynamic compilation??

they are just same things?

in Wiki, JIT compliation is a form of Dynamic compilaiton.

https://en.wikipedia.org/wiki/Dynamic_compilation

Upvotes: 2

Views: 436

Answers (1)

GhostCat
GhostCat

Reputation: 140613

I see "dynamic compilation" somehow as "superset" of what "JIT" is about.

By "definition", JIT means that, at runtime, some "engine" analyses what is going on, and based on that, it makes decision if/how to turn Java bytecode into machine code.

So: anything that a "JIT" is doing could be seen as "dynamic compiling". But not everything that might fall under "dynamic compiling" would be found in JITs.

Upvotes: 2

Related Questions