News for hackers. Stuff that matters.
Re:The earliest version of HN I can find; 166 LOC by jacquesm on Sunday July 26, 2009 @05:02PM (#724884)
Ok, so let me try to spell this out to see if I understand what you mean:

You are basically saying that whatever is primitive to the languages is irrelevant because the language that has the best libraries will win such a contest hands down because what needs to be re-implemented in one language is a primitive in the other.

That's true as far as I can see, but only for 'domain specific' problems. By running a benchmark that contains samples from many domains it should be possible to average out those factors.

Another way to deal with it would be to limit the code to code written in primitives.

Still matlab would handily outperform any other language not endowed with primitives for matrix manipulation, but that's exactly the whole point of such a test. To figure out given a problem for a certain domain what would be the most expressive platform to solve the problem in.

Re:The earliest version of HN I can find; 166 LOC by ivankirigin on Sunday July 26, 2009 @11:47PM (#725334)
Across many domains, the effect of libraries is exaggerated. Perhaps minimization isn't enough. Let's add image processing, talking to hardware over a serial port, and parsing an xhtml file. Libraries win:

  image.convolve( filter )
  hardware.write( c_struct )
  beautifulsoup( xhtml )