Computer Language Benchmarks Game

121 views
Skip to first unread message

Cody Goodman

unread,
Dec 13, 2014, 8:14:06 PM12/13/14
to ats-lan...@googlegroups.com
It would be awesome to have ATS on here. I found this thread where the maintainer said there was a lack of ATS experts and he wasn't sure if the programs did the same thing:

https://alioth.debian.org/forum/forum.php?thread_id=14942&forum_id=2965&group_id=100815

I'm just wondering how we can get ATS on the benchmarks game and thought others might have some ideas. Perhaps I (or someone else) could email the maintainer?

- Cody

Brandon Barker

unread,
Dec 13, 2014, 8:25:45 PM12/13/14
to ats-lang-users
A few of us tried e-mailing, but I suppose it wouldn't hurt to have another.

Another option is we host our own version. I was hoping to do this, but really don't see getting around to it anytime soon.

--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/b2801c44-c6c2-4029-914d-f630a44aa573%40googlegroups.com.



--
Brandon Barker
brandon...@gmail.com

Brandon Barker

unread,
Dec 13, 2014, 8:27:02 PM12/13/14
to ats-lang-users
That said, I might be able to help with the hosting if someone else wants to help with the setup
--
Brandon Barker
brandon...@gmail.com

Cody Goodman

unread,
Dec 13, 2014, 8:31:25 PM12/13/14
to ats-lan...@googlegroups.com
Is there some sort of framework we can reuse (is the benchmarks game code available) or is that something that would have to be created?

gmhwxi

unread,
Dec 13, 2014, 9:48:43 PM12/13/14
to ats-lan...@googlegroups.com
See:

https://github.com/githwxi/ATS-Postiats-contrib/tree/master/projects/MEDIUM/SHOOTOUT

In the ATS2 directory, I have the following entries:

fasta-redux  k-nucleotide  mandelbrot  pidigits  reverse-complement  spectral-norm

In each case, I picked a top submission based on C or C++ and was able to match
it with a version in ATS2 that is more or less a translation of the original version. I was
hoping to generate some good publicity for ATS2.

Also, Will Blair told me that he got a version of n-body in ATS2 that would rank at the
top as well.

Honestly, I don't think that they really need ATS experts. If one uses gprof, one should
be able to tell that the ATS version in each case does pretty much the same as its corresponding
C/C++ version. On the other hand, I am an ATS/ATS2 expert. I don't think that I can tell whether two
pieces of ATS code do the same or not by just reading the code.

I think the concern for the Benchmark team is likely this: If some person is skeptical of the performance
of ATS, then it would be very hard for them to defend ATS. If ATS were slow, then this concern would not
be there. But it would not be exciting, either :)

gmhwxi

unread,
Dec 13, 2014, 9:52:21 PM12/13/14
to ats-lan...@googlegroups.com

I remember seeing that they told someone to download a package to do a
test on his own. If you post a message on their forum, they will probably tell you.

Isaac Gouy

unread,
Dec 14, 2014, 2:40:10 AM12/14/14
to ats-lan...@googlegroups.com


On Saturday, December 13, 2014 5:31:25 PM UTC-8, Cody Goodman wrote:
Is there some sort of framework we can reuse (is the benchmarks game code available) or is that something that would have to be created?


Download from the benchmarks game website --

"The Python script "bencher does repeated measurements of program cpu time, elapsed time, resident memory usage, cpu load while a program is running, and summarizes those measurements" - download bencher and unzip into your ~ directory, check the requirements and recommendations, and read the license before use."

Brandon Barker

unread,
Dec 14, 2014, 11:05:45 AM12/14/14
to ats-lang-users
FWIW, I have a repo here: https://github.com/bbarker/benchmarksgame. It does not even have the ATS2 examples added yet.



--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.

Isaac Gouy

unread,
Dec 14, 2014, 11:54:34 AM12/14/14
to ats-lan...@googlegroups.com


On Sunday, December 14, 2014 8:05:45 AM UTC-8, Brandon Barker wrote:
FWIW, I have a repo here: https://github.com/bbarker/benchmarksgame. It does not even have the ATS2 examples added yet.

So… add them?

Brandon Barker

unread,
Dec 14, 2014, 12:09:13 PM12/14/14
to ats-lang-users
That would be the first thing to do. I added a few issues; feel free to add others.

--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.

Brandon Barker

unread,
Dec 14, 2014, 12:14:23 PM12/14/14
to ats-lang-users
I will try to get a web server going in the next couple of weeks. I will probably use NixOS since I want to learn Nix more (but I need to get around to making a KVM-friendly image).
--
Brandon Barker
brandon...@gmail.com

Isaac Gouy

unread,
Dec 14, 2014, 1:05:33 PM12/14/14
to ats-lan...@googlegroups.com
You might want to check that you can actually use those scripts to measure program performance on your machine - maybe there's other software you need to install ;-)

Isaac Gouy

unread,
Dec 14, 2014, 1:30:51 PM12/14/14
to ats-lan...@googlegroups.com


On Sunday, December 14, 2014 9:14:23 AM UTC-8, Brandon Barker wrote:
I will try to get a web server going in the next couple of weeks.
 
Think of the best way to display information for your purposes -- those PHP we scripts are specific to the needs of the benchmarks game.

gmhwxi

unread,
Dec 14, 2014, 2:27:36 PM12/14/14
to ats-lan...@googlegroups.com
A suggestion.

It might be interesting to benchmark the JS, PHP, Perl, and Python code
generated by atscc2js, atscc2php, ats2perl, and atscc2py, respectively. It
can be a great occasion to tune these sub-compilers!

Andrea

unread,
Mar 16, 2015, 5:02:38 AM3/16/15
to ats-lan...@googlegroups.com
Hi guys, I just stumbled onto this link by accident, and I was wondering what the situation is. The whole story sounds a bit strange

gmhwxi

unread,
Mar 16, 2015, 11:07:17 PM3/16/15
to ats-lan...@googlegroups.com
The situation is what it was. No one seems to be actively pushing it.

Andrea

unread,
Mar 17, 2015, 4:56:29 AM3/17/15
to ats-lan...@googlegroups.com
Okay, I'll take my question back. I was actually wondering what the problem was with adding the language to the original language benchmarks site. I clearly remember reading that it was possible to add new languages, but I clearly remember wrong: I just read on the FAQ that no languages are being added. Too bad. Not everybody has a site to publish an own version.
Reply all
Reply to author
Forward
0 new messages