> Akka Akka has a Java and a Scala API.
> Such as adding closures, adding type inference, allowing symbolic method > names Very limited type inference. Not all Scala's fault, it's partly because of the interop with Java. > and removing checked > exceptions? I'm not sure that's an advantage. Better syntax for rethrowing would be, but as it stands that's like saying Groovy is better because it removes your compile errors. > Okay, this one is more subjective. Scala is certainly different from Java > (but not crazily so, like Clojure is). It's hard to imagine how those > differences could be reduced without hobbling the language though. Not especially. val x: String = foo becomes final String x = foo var x: String = foo becomes String x = foo Int, Double, Float, etc. become int, double, float, etc. val f: Int => Int = x => x * 2 becomes final (int => int) f = x => x * 2 The ridiculous _root_ for imports should just disappear; all imports outside classes or package blocks should be absolute. for (x -> 1 to 5) becomes for (x: 1 to 5) > Typesafe, Google, Twitter, LinkedIn, FourSquare, Amazon How are Google backing Scala? >> - statically typed > > Yes. Minus exceptions. >> - similar performance to Java > > Slower in some cases, faster in others In which cases is Scala faster, and why? > So add to the list of requirements: > - Must be well suited to handle concurrency on a large (100+ core) scale? Perhaps multi-process architecture, like Chrome, is a good natural step there, without having to switch languages. Also, Scala doesn't enforce anything that helps in concurrency. It only provides useful libraries. There's not even a good way of looking for unsafe code like there is with Haskell (literally, look for the word unsafe). > Because that's where the next big driver will be for people to shift away > from Java I think the big driver will be Apple, and possibly Microsoft+Nokia. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
