Call scala from java - performance? -



Call scala from java - performance? -

i have parser written in scala due implementation simplicity. need phone call java application. know need include scala library in classpath, etc. performance? strong performance decreases comparing pure java parser calls?

calling scala java isn't going incur overhead: it's bytecode when executes. it's not if having travel through kind of bridge between java , scala, might if calling java into, don't know, python.

whether scala implementation of particular algorithm going run faster or slower depend on nature of algorithm , way you'd implement it. given you're not going implement same way in 2 languages, it's hard predict.

java performance scala

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -