Google Groups Home
Help | Sign in
Message from discussion Optimise my ray tracer
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Dale King  
View profile
 More options 14 Jun 2005, 05:29
Newsgroups: comp.lang.java.programmer
From: Dale King <DaleWK...@insightbb.nospam.com>
Date: Tue, 14 Jun 2005 04:29:29 GMT
Local: Tues 14 Jun 2005 05:29
Subject: Re: Optimise my ray tracer

Tor Iver Wilhelmsen wrote:
> Jon Harrop <use...@jdh30.plus.com> writes:

>>Can you elaborate on this? All of my tests indicate that Java is many times
>>slower than most other modern languages, even stereotypically slow
>>languages like SML and OCaml.

> Since Java code (unless forced to run interpreted) runs 98% of its
> time as run-time optimized native code, how can it be slower than
> compile-time optimized C code? Are you perchance taking startup time
> into consideration?

You know I've been indoctrinated in the Java is as fast as C as well,
but someone was pointing out benchmarks that show it is twice as slow as
  compiling the code with gcj. I've not had time to look into the actual
results (and I haven't found any comparing to 1.5), but it makes me
wonder if maybe we've believed something that isn't true.

--
  Dale King


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google