This page is no longer maintained — Please continue to the home page at

Call scala from java performance

1 reply
Joined: 2012-01-26,
User offline. Last seen 39 weeks 6 days ago.
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?
Joined: 2011-12-16,
User offline. Last seen 42 years 45 weeks ago.
Re: Call scala from java performance

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

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland