From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,cf27a69d65b9f023 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,33dd5febb8fc0fd0 X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,33dd5febb8fc0fd0 X-Google-Attributes: gid110292,public From: Ian Baker Subject: Re: Why people accept bad computers Date: 1997/05/27 Message-ID: <338AFC06.36A3@uk.sun.com>#1/1 X-Deja-AN: 244262103 References: <5lbm3p$qgn$1@nnrp1.crl.com> <337da19d.3384747@news.demon.co.uk> <5ls2mo$p05$1@news.th-darmstadt.de> <5lvovo$598$1@sue.cc.uregina.ca> <01bc6653$17675d20$47a036cf@alpha> <5m3cor$ksk$1@gondor.sdsu.edu> <33856e03.77419151@news.wam.umd.edu> <338580C2.500F9F30@lehman.com> <01bc67e9$31be3080$5f89d8cd@atlantis> <3386de90.35509827@news.wam.umd.edu> <5m9oen$26j$1@newsserver.dircon.co.uk> <5m9vf9$ilu@dfw-ixnews9.ix.netcom.com> <01bc694f$7dbb96f0$9e89d8cd@atlantis> Organization: Sun Microsystems Newsgroups: comp.sys.dec,comp.sys.intel,comp.arch Scott Gilbert wrote: > > > > > It is obvious that Java will fail and not be adopted due to the lack of > > a native compiler. Remember the utter failure and disappearance from > > the market of Microsoft's Visual Basic for just that reason? > > > This is not strictly true, since many Java Virtual Machines now include what are known as 'Just In Time' (JIT) compilers. These take the Java Byte Code (once it's gone through all the mandatory security checks) and compile it into native machine code. Since the compilation is done within the JVM, the platform-specific part of the environment, you don't lose any of the Operating System independence of Java but do gain (some of) the execution speed of native code. (I say 'some of' because all of the time that an application spends within the JVM, which is often significant is not accelerated any further). The extra time taken to compile the code is usually negligable (and can probably be overlapped with the download and verification processes, anyway). And no, I'm not going to pretend that Visual Basic has sunk without trace (yet!). Ian. All the usual disclaimers (about not speaking on behalf of Sun Microsystems in any official capacity) apply.