I think invokedynamic can help, but with dynamic languages, they will
be able to approach statically compiled ones - certainly for long
running server apps they could get as fast I think, in the long run
(as the JITting kicks in).

Lots of research has been and is being done in this area, so I would
think over time the perfomance difference would become a non issue,
but at the moment, like you say, it certainly is an issue.



On Sep 4, 11:42 am, Alan Kent <[EMAIL PROTECTED]> wrote:
> I was doing some web surfing trying to find information on Groovy, Scala
> etc from a performance perspective.  I hear lots of Groovy people saying
> "its the next generation replacement for Java" sort of statements, but
> all the performance benchmarks I have come across show code similar to
> the Java replacement to be many times slower.  Scala seems to do a lot
> better as it was statically typed.  I can see Groovy being useful as a
> scripting language (top level gluing things together).  Performance-wise
> I cannot see it ever being a serious Java replacement.  Useful along
> side?  Yes.  Replacement?  No.
>
> I was wondering what experiences or knowledge others had in this area?  
> Is the performance difference because the JVM was optimized for static
> languages?  Is adding "Invoke Dynamic" to the JVM going to fix this
> problem, or just get it closer to Java performance?  That is, is the
> performance penalty fixable?  I assume all the dynamically typed
> languages will suffer from the same basic problem.
>
> Personally it feels like Groovy is a great scripting language to use
> with Java, but as soon as someone starts claiming its the clear
> replacement to Java I start to tune out.
>
> Alan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to