News for hackers. Stuff that matters.
Re:SBCL quicker than C? by jsnell on Tuesday February 08, 2011 @09:14AM (#2192889)
At least in the past the Shootout code wouldn't have explicit (declaim (optimize ...)) in the source files, but the command used to compile the files would have it. Did it really get removed from the command line?
Re:SBCL quicker than C? by igouy on Tuesday February 08, 2011 @11:16AM (#2193374)
Alexey Voznyuk wanted it removed - My point is that obligatory "(optimize (speed 3) (safety 0) (debug 0) (compilation-speed 0) (space 0))" is totally wrong.
Re:SBCL quicker than C? by jsnell on Tuesday February 08, 2011 @11:59AM (#2193589)
Thanks for the explanation. I think he's totally wrong though, and could have just overridden whatever setting he was unhappy with in his own program. It seems crazy to pessimize every other program for the sake of one solution though, especially when the approach taken is considered cheating and the solution marked as "interesting alternative".

And no criticism implied on the Shootout maintainers, I'm sure that dealing with the submitters is like herding cats :-)

Re:SBCL quicker than C? by igouy on Tuesday February 08, 2011 @12:19PM (#2193721)
Alexey Voznyuk contributed several Lisp programs, and a couple still show as the fastest Lisp program - maybe you can do better?

(The project name changed nearly 4 years ago http://groups.google.com/group/haskell-cafe/msg/61e427146c8d...)

Re:SBCL quicker than C? by jsnell on Tuesday February 08, 2011 @06:16PM (#2195356)
I did years ago, and a few of them still seem to be around. But won't be doing it again both due to reasons we have discussed before, and because the implementations seem to have totally dived off the deep end of complexity by now, and don't really look like they'd be much fun anymore.
Re:SBCL quicker than C? by igouy on Wednesday February 09, 2011 @03:52PM (#2199275)
Well for fun you might do want no one else has done, and contribute a Lisp program for meteor-contest - solve as you please, there's no cat herding for that one

http://shootout.alioth.debian.org/u64q/performance.php?test=...

Re:SBCL quicker than C? by igouy on Tuesday February 08, 2011 @06:35PM (#2195410)
Yes there are several that include a credit to you in the source code comments.

The last program Alexey Voznyuk contributed seemed mostly to be inline assembler with a hint of Lisp - off the deep end :-)