News for hackers. Stuff that matters.
Re:Take on Haskell vs Scala by dkhenry on Monday July 30, 2012 @06:20AM (#4311674)
The only disagreement I would have is that while the JVM is a great runtime, I would love the ability to compile to native code to get faster start up times.

Also I know its a preference thing, but I like curly braces. It makes an old C programmer feel more at home.

Re:Take on Haskell vs Scala by pjmlp on Monday July 30, 2012 @09:02AM (#4312091)
There are some commercial solutions that compile bytecode to native code, but they are a bit on the expensive side.

Aonix and JET are two of them.

Sadly, GCJ is dead even though is still part of GCC.

Re:Take on Haskell vs Scala by tikhonj on Monday July 30, 2012 @06:03PM (#4314921)
Happily you can use curly braces in Haskell if you really want to. You have the choice between:

    do something 10
       b <- somethingElse
       something b
and

    do {
      something 10;
      b <- somethingElse;
      something b
    }
I've only ever seen the latter style very rarely though. I think it's also good for generating code so that you don't have to worry about whitespace and lining your generated code up properly.