optimization is a tricky enough topic on the JVM anyway, varying depending on your platform, startup params, whether or not the JVM believes it's running on server-class hardware, how long the program has been running...
We're also right on the cusp of an explosion in core count, so there's the added question of whether or not a loop should be considered more "optimised" if it can be easily run in parallel. I thought it was probably for the best if I didn't specify optimization as a goal here, given how hard it is to pin down - even with a profiler! On 10 September 2010 13:28, Josh Berry <[email protected]> wrote: > On Fri, Sep 10, 2010 at 7:27 AM, Ricky Clarkson > <[email protected]>wrote: > >> alteration to make this clear follows, but I am trying to point out a >> difference that makes converting from (poor) Java to Scala difficult. >> > > > I'm confused. The call was for something that couldn't be made better in > Scala. You picked something that could be made better in Java (you even > cede this in claiming it is poor Java). So.... converting this to "good" > Java should be the comparison point, no? > > This seems akin to claiming any poor design in one language should be just > as poor in another language. > > If you truly want a good example of something that is "better" in java, one > need only look at for loops with an eye to optimization. Of course, you do > run the debate of abstraction versus performance. > > -- > 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]<javaposse%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > -- Kevin Wright mail / gtalk / msn : [email protected] pulse / skype: kev.lee.wright twitter: @thecoda -- 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.
