The Artima Developer Community
Sponsored Link

JIT is just-in-time *static* compilation



This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


JIT is just-in-time *static* compilation

Posted by Bill Venners on 29 Jun 1998, 9:25 PM

> Inside the Note box, you say JIT is an example of
> dynamic compilation. I think it is a static compilation
> because there is no run-time information available yet to
> the JIT compiler when it is run. Or am I missing
> something ?
Nope, you're quite right. That is a mistake on my part. Here's
what it should say:

The "static" in "static compilation" refers to compilation in
and optimization the absence of any run time information. This
can happen at "compile" time on the programer's desk, or it
can happen just-in-time at runtime (well, just before each
thing is run) on the user's desk.

The "dynamic" in "dynamic compilation" doesn't just mean it's
happening at run-time, but implies that it is to some extent
taking advantage of information available at run-time that
isn't available before the program actually runs.

Sorry about the bug. Thanks for keeping me on my toes.



Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us