Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: questions re Javascript Date: Thu, 24 Sep 2015 22:34:49 -0400 Organization: Aioe.org NNTP Server Lines: 51 Message-ID: References: <83722e36-4afe-4077-b936-229450613698@googlegroups.com> <47d69c57-6ce4-4f35-9e14-a348a3fbf1f7@googlegroups.com> NNTP-Posting-Host: NIM2IeSPVd0kE3mU1mieXw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:32670 On 9/24/2015 9:58 PM, Arne Vajhøj wrote: > On 9/24/2015 7:55 PM, Jerry Stuckle wrote: >> On 9/24/2015 4:10 PM, Lew wrote: >>> On Thursday, September 24, 2015 at 2:40:16 AM UTC-7, Eternal Hope wrote: >>>> On 24/09/2015 00:10, Lew wrote: >>>>> On Saturday, September 5, 2015 at 12:40:19 PM UTC-7, Eternal Hope >>>>> wrote: >>>>>> ... technically Java is also an interpreted language although >>>>>> optimizations like Just In Time compilers tend to blur the >>>>>> distinction >>>>>> somewhat. >>>>> >>>>> "Technically" Java is a compiled language. >>>> >>>> Ambiguous. >>> >>> Not at all. >>> >>> What is "javac"? >> >> Not a compiler as known outside of the Java world. It only creates >> bytecode, not an executable file. > > Similar to: > > C# compiler that compiles C# code to MSIL byte code > UCSD Pascal compiler that compiles Pascal code to p-code byte code > Hip Hop compiler that compiles PHP to Hip Hop byte code > > Calling something that compiles to byte code is not a Java world > thing - it is quite common - and have been used many years > before Java was invented. Even if we take something very traditional like C and C++, then if we leave the application programmer view and go to the compiler internals view, then GCC (which is probably one of the most used compilers) really consists of: gcc/g++ compiler drivers cpp preprocessor cc1/cc1plus compiler as assembler collect2 linker [forgive me for the non-nix term] and guess what - the cc1/cc1plus compiler actually does not produce neither executable nor object code but instead assembly code. Arne