News for hackers. Stuff that matters.
Re:The speed, size and dependability of programming languages by herdrick on Sunday May 31, 2009 @01:11PM (#634862)
This is great.

If you've looked at Peter Norvig's spell checker shootout you won't be surprised much. Ex., the story on Common Lisp and Scheme implementations is the same here: MzScheme is the mediocre best of an unimpressive lot. (I want to see Clojure and Arc on this.) Python looks great again. F# looks weak here but wins big in the spell checker with reasonable-looking code. Sounds interesting.

What's the deal with Squeak? I had thought that it very concise.

The meta-message here is best of all: people are measuring language conciseness.

Re:The speed, size and dependability of programming languages by silentbicycle on Sunday May 31, 2009 @01:22PM (#634874)
Well, arc's running on top of MzScheme, so it's likely to be a bit slower. Also, Stalin in the left column is a Scheme implementation, albeit one that is very restrictive for sake of raw speed.

Also, it's worth noting that the features in a language that make large systems' codebases manageable (such as good module systems) are different from the features that allow you to pare down small scripts further. It's hard to show features supporting conciseness-in-the-large in a one page benchmark, so IMHO the latter is often greatly overemphasized. Being able to knock 2 lines off 20 is often just a parlor trick, though, while 50kloc off of 200kloc can mean life or death for a project. The programming world would be a happier place if the size of every legacy C++ / Java codebase were cut by a double-digit percentage.

Re:The speed, size and dependability of programming languages by granular on Sunday May 31, 2009 @06:51PM (#635152)
> > (I want to see Clojure and Arc on this.)

> Well, arc's running on top of MzScheme, so it's likely to be a bit slower.

I'd be interested to see how Arc fares on the code-size axis.

Re:The speed, size and dependability of programming languages by silentbicycle on Monday June 01, 2009 @01:30PM (#636395)
Are there any large projects using it?
Re:The speed, size and dependability of programming languages by granular on Monday June 01, 2009 @06:38PM (#636948)
I don't know much about the Shootout, but my guess is that, if someone wants Arc there, they need to go and write whatever programs the Shootout requires you to write in order to participate in the Shootout.

I'd try it, but I don't know Arc (or Lisp yet, for that matter). If someone here knows Arc and wants to see it in the Shootout, I suggest they look into the faq: http://shootout.alioth.debian.org/u32q/faq.php

Re:The speed, size and dependability of programming languages by avibryant on Sunday May 31, 2009 @02:38PM (#634945)
Just a guess, but: Squeak only uses text files as an export format, and that format is more verbose than file-based source code would normally be. If you only counted the code and not the metadata, it would probably do better.
Re:The speed, size and dependability of programming languages by igouy on Sunday May 31, 2009 @10:32PM (#635407)
Not much - Smalltalk code is written in sentences not squiggles.

The productivity comes from reading and re-using the code that has already been written rather than duplicating stuff.

Re:The speed, size and dependability of programming languages by stonemetal on Sunday May 31, 2009 @07:08PM (#635163)
Also note that in the benchmark it is a gzip of the source so it is more about how well your source code compresses.