News for hackers. Stuff that matters.
Re:Is Scala really Faster than Java? by brown9-2 on Tuesday June 21, 2011 @08:48AM (#2678509)
It's a gigantic stretch to read an article that benchmarks languages implementing a single type of function and conclude "It shows Scala to be faster compared to Java".

Thankfully the author realizes this in his conclusion - "it seems that difference in implementations is the cause for difference in the time taken by Java/Scala programs".

Re:Is Scala really Faster than Java? by eru on Tuesday June 21, 2011 @09:44AM (#2678704)
He could probably try to justify: Scala idioms to structure code tend to be faster than Java idioms.
Re:Is Scala really Faster than Java? by eevilspock on Tuesday June 21, 2011 @11:26AM (#2679122)
Or argue that the Scala language provides more information to the static compiler allowing it to produce better byte code. Has anyone done that analysis?
Re:Is Scala really Faster than Java? by cb372 on Wednesday June 22, 2011 @05:20AM (#2682379)
In general, the Java static compiler generates pretty poor-performing bytecode, no matter how much useful info you give it. This is by design, and relies on HotSpot to provide the necessary optimisations at runtime.

I'm no expert but I would assume that the Scala compiler is quite similar. Not much point in generating highly optimised bytecode when HotSpot will do the job for you.