TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: John B. Matthews
date: 2009-03-07 10:13:38
subject: Re: A 21st Century Apple II?

In article 
,
 apple2freak{at}gmail.com wrote:
[...]
> I responded with specific benchmarks using the Java 6 client because 
> I think that is much more representative of what the average person 
> will use in order to run Java programs.

I see that both -client and -server JITC options are included in the JRE 
that comes with the SDK:

http://java.sun.com/docs/hotspot/HotSpotFAQ.html#compiler_types>

I imagine the average person will use whichever optimizes performance, 
unless (s)he determines performance to be irrelevant.

On Mar 7, 3:11 pm, mdj  wrote:
> > > Conversely, you'll be hard-pressed to find a benchmark where Java 
> > > comes out ahead by more than a few percentage points.

Indeed, I often choose Java to leverage the rich, cross-platform 
features of the SDK; or I might choose Ada to leverage strong type 
checking; or I might choose some other language for some other reason. 
I don't really worry about performance until the profiler tells me 
where I've made a design flaw. Then, I'm more likely to consider an 
algorithmic variation than a new language, although nothing precludes 
invoking an external routine.

On the Apple II, the Java runtime isn't quite as rich, but the native 
interface is good old 6502, source included.

[...]

I like the comparison sites like http://shootout.alioth.debian.org/> 
and http://www.rosettacode.org/> to study optimized code, but I'm not 
sure the results are dispositive of language choice.

-- 
John B. Matthews
trashgod at gmail dot com
http://sites.google.com/site/drjohnbmatthews>
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 128/2 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.