Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jerry Stuckle Newsgroups: comp.lang.java.programmer Subject: Re: Translator, Compiler, Interpreter and Java Date: Mon, 5 Oct 2015 22:26:05 -0400 Organization: A noiseless patient Spider Lines: 53 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 6 Oct 2015 02:24:03 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="8b88f1819ae50b8afa97a5cef254b303"; logging-data="15342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/29qO6PnfxYdUFK6t4cr3ec0+LqgxBgw0=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: Cancel-Lock: sha1:OLPETmmm0hKJKgQbo8KqjlhMw7I= Xref: csiph.com comp.lang.java.programmer:32821 On 10/5/2015 10:16 PM, Arne Vajhøj wrote: > On 10/5/2015 10:09 PM, Jerry Stuckle wrote: >> On 10/5/2015 9:35 PM, Arne Vajhøj wrote: >>> On 10/3/2015 10:38 AM, Jerry Stuckle wrote: >>>> On 10/2/2015 10:41 PM, Arne Vajhøj wrote: >>>>> On 9/27/2015 11:09 PM, Jerry Stuckle wrote: >>>>>> Who (besides you) ever said you had to run a compiler at every >>>>>> program >>>>>> invocation? >>>>> >>>>> You did. >>>>> >>>>> "to interpret the code and convert it to code which can be executed by >>>>> the processor" >>>>> >>>>> This process is what is called JIT compilation done by a JIT compiler. >>>>> >>>> >>>> No, Arne, that is the job of the interpreter. >>> >>> Nope. >>> >>> Conversion from byte code to native instructions is done by the JIT >>> compiler and not the interpreter. Interpreters does not output >>> native code. In fact they do not even output - they execute. >> >> The interpreter calls the JIT to compile the code. > > Not really. > > The JIT compiler get called even if you disable interpretation with -XComp. > Once again you are speaking from a position of ignorance. >> But it can do its >> job quite well without a JIT - as early versions of Java did. > > Absolutely, but in that case no conversion happens. > > Arne > > Arne, I suggest you stand up and take a load off your brain. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================