1. Rob, Euphoria speed
Hi,
I use a computer with a Pentium-133 processor and 16 megs of RAM, and ach-
eived the following results in a full-screen DOS window, with a copy of Mic-
rosoft's Jview program(circa 1997) and an old freeware Java compiler called
JUMP(also circa 1997) with Sun's Java class library(circa 1.0, 1.1), and
Euphoria 2.2 for DOS, having translated the following benchmarks from Eu-
phoria to Java myself:
Benchmark Euphoria x's per second Java
-------------------------------------------------
Prime sieve 2126 5380
Shell sort 3501 25893
As you can see, Java really beat Euphoria on the shell sort. Any idea how?
I used stand-alone Java applications to acheive these results. If you want
the classes that acheived these marvelous results, I will send them to you.
If you have anything *remotely* similar to Sun's 'java' program, you can
run them.
2. Re: Rob, Euphoria speed
- Posted by Robert Craig <rds at ATTCANADA.NET>
Sep 01, 2000
-
Last edited Sep 02, 2000
Darth Maul aka Matt writes:
< benchmarks showing Java compiler beating
Euphoria interpreter on sieve and shell>
I never claimed that the Euphoria interpreter was faster
than compiled Java, just interpreted Java.
With the new translator (hang on a few more days!)
sieve is 3.2x faster and shell is 4.5x faster (on DOS).
So I estimate that you'll see Euphoria easily beating the
Java compiler on sieve, and not be that far behind on shell.
The translator will get even better in the coming weeks.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
3. Re: Rob, Euphoria speed
okay. seeing as I just downloaded Turbo C 2.01(for DOS), I am *really* look-
ing forward to it. Maybe in the meantime, I may want to work on a Eu to Java
translator.
4. Re: Rob, Euphoria speed
- Posted by David Cuny <david at LANSET.COM>
Sep 01, 2000
-
Last edited Sep 02, 2000
Matt wrote:
> Maybe in the meantime, I may want to work on a Eu to Java
> translator.
You can find a simple Euphoria to Java translator on my web pages, at:
http://www.lanset.com/dcuny/java.htm
It's been a while since I've worked on it, but it does run the Queens and Sieve
demos.
-- David Cuny
5. Re: Rob, Euphoria speed
On Fri, 1 Sep 2000 23:56:50 -0400, Darth Maul, aka Matt
<Uglyfish87 at HOTMAIL.COM> wrote:
>okay. seeing as I just downloaded Turbo C 2.01(for DOS), I am *really*
look-
>ing forward to it. Maybe in the meantime, I may want to work on a Eu to
Java
>translator.
Darth:
Sounds like you finally got your computer running.
6. Re: Rob, Euphoria speed
As i recall, The euphoria shell sort routine (found in allsorts.ex) can sort
any type of data: integers, atoms, sequences - doesn't matter. Will the Java
version do that for you ?
Remember, flexibility comes at the cost of speed.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.