- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Call scala from java performance
Thu, 2012-01-26, 09:54
I have parser written in Scala due to implementation simplicity.
I need to call it from my java application. I know I need to include scala library in the classpath, etc.
But what about performance? Could it be any strong performance decreases comparing the pure java parser calls?
I need to call it from my java application. I know I need to include scala library in the classpath, etc.
But what about performance? Could it be any strong performance decreases comparing the pure java parser calls?
As far as I know, everything get compiled down to the same byte-codes. Actually I usually decompile my Scala .class file for fun to see what the compiler is doing. Jad still works but there are other decompilers too.
I think you should be more concerned about the performance of the parser, not the cost of the integration. That's my $0.02