Parallel Rogue-like benchmark

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Aug 25 15:57:23 PDT 2013


On 24/08/13 19:01, Ramon wrote:
> I think that there is a lot speaking against sloc.
>
> First it's often (ab?)used for "Ha! My language x is better than yours. I can
> write a web server in 3 lines, you need 30".

Don't know about a web server, but I remember somewhere online I found this 
really cool 3-line quicksort that you can do in Haskell :-)

     qsort []     = []
     qsort (x:xs) = qsort (filter (< x) xs) ++ [x]
                    ++ qsort (filter (>= x) xs)


More information about the Digitalmars-d mailing list