Re: [GEN] Java,Jikes,Jacks,Jacl, & Euphoria
- Posted by Jeffrey Fielding <JJProg at CYBERBURY.NET> Nov 09, 2000
- 398 views
On Thu, 9 Nov 2000, Sabal Mike wrote: > One of the major complaints of Euphoria has been its lack of portability. > I know some work has been done creating Tcl wrappers in Euphoria and a > port of Euphoria was supposedly made as a Java class (David?). The > major complaint of Java has always been its speed. I just read a few > reports about the Jikes compiler which is supposed to be a lot faster > than javac. How that affects the run-time speed I don't know. Jacl is > a Tcl/Java project. Does anyone have any experience with these > projects? If so, how do you think they could affect Euphoria > development? > > Mike Sabal > The Jikes compiler (as far as I know) is basically javac written in C instead of Java, so it compiles much faster. Run time performance is about the same, I think. I download David's Euphoria/Java and made some small tweaks so it's a bit faster, though it still doesn't do enough optimization to approach Euphoria's speed. However, a hand written Java program can easily beat an equivilent Euphoria program. Here's the results of the sieve benchmark (though i only ran each once, so they're not perfect): Euphoria/Java with my tweaks, compiled by javac -O: 373 sieves/second Euphoria/Java with my tweaks, compiled by jikes -O: 396 sieves/second C++ with gcc (no optimization options): 16023 sieves/second gcc with -O3 -fomit-frame-pointer: 46560 sieves/second gcc with -O3 -fomit-frame-pointer -march=pentiumpro: 51600 sieves/second hand written java w/ javac -O: 40051 sieves/second hand written java w/ jikes -O: 34633 sieves/second Euphoria for linux: 7536 sieves/second Jeff