fast & Nice

View: New views
4 Messages — Rating Filter:   Alert me  

fast & Nice

by Isaac Gouy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

See
http://shootout.alioth.debian.org/gp4/benchmark.php?test=spectralnorm&lang=all

But why is Nice memory use so much less than Java for
those programs?


Incidentally, there are still many benchmarks without
Nice programs
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=nice&lang2=nice


"How can I contribute a program or a fixed-program?"
http://shootout.alioth.debian.org/gp4/faq.php#contribute

best wishes, Isaac


               
__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nice-info mailing list
Nice-info@...
https://lists.sourceforge.net/lists/listinfo/nice-info

Re: fast & Nice

by Daniel Bonniot-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

Isaac Gouy wrote:
> See
> http://shootout.alioth.debian.org/gp4/benchmark.php?test=spectralnorm&lang=all

Wow, nice is the second fastest language around? ;-)

> But why is Nice memory use so much less than Java for
> those programs?

Is the implementation very close?

One possibility is that the JVM is started with different arguments. Another
is a subtle interaction with the garbage collector. Is this the case for most
benchmarks, or only this one?

Daniel


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nice-info mailing list
Nice-info@...
https://lists.sourceforge.net/lists/listinfo/nice-info

Re: fast & Nice

by Isaac Gouy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Wow, nice is the second fastest language around? ;-)

Perhaps I should note that the Nice program is being run on jdk1.5.0_05
and nosed-ahead of the jdk1.5.0_05 program. ;-)


> > But why is Nice memory use so much less than Java for
> > those programs?
> Is the implementation very close?

The method text is copy & paste from the Java program to Nice.

In Java they are non-static methods, in Nice they are package-level.

Java
http://shootout.alioth.debian.org/gp4/benchmark.php?test=spectralnorm&lang=java14&id=0

Nice
http://shootout.alioth.debian.org/gp4/benchmark.php?test=spectralnorm&lang=nice&id=0


> One possibility is that the JVM is started with different arguments.

The Nice program is in a jar file, the Java program isn't.
(A build & run log shown below each program source code listing.)


> Another is a subtle interaction with the garbage collector.
> Is this the case for most benchmarks, or only this one?

This one seems to be an exception (and in other cases the Nice and Java
programs may differ more).

best wishes, Isaac

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nice-info mailing list
Nice-info@...
https://lists.sourceforge.net/lists/listinfo/nice-info

Re: fast & Nice

by Inigo Surguy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On a similar vein to the Computer Language Shootout, I just
encountered a link to the "JVM Language Soko-Shootout" (
http://opal.cabochon.com/~stevey/sokoban/ ) ; an interesting site that
I haven't seen mentioned on this list before.

It compares nine different JVM-targetting languages by writing an
implementation of Sokoban in each, and gives the author's impressions
of writing in each language - rather than performance stastics.
Unfortunately it's incomplete, but it's interesting nonetheless.

Some complimentary quotes:

"Nice is a fascinating JVM language that's very different from most of
the other languages in the shootout... Overall, Nice was one of my
favorites, and I'd use it again... I can't believe Java doesn't have
more features from Nice! ... Daniel Bonniot over at INRIA is
(obviously) a very gifted programmer and computer scientist"

I found this via a link in the comments to Bruce Eckel's discussion of
Groovy at Artima -
http://www.artima.com/forums/flat.jsp?forum=106&thread=147353.

Cheers

Inigo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nice-info mailing list
Nice-info@...
https://lists.sourceforge.net/lists/listinfo/nice-info
LightInTheBox - Buy quality products at wholesale price