Can the implementation of the Java EE specification be more efficient in Scala?
I was wonderning efficiency of implemeting some Java EE APIs in Scala but not all of them. For instance JNDI would be faster in Scala because we can take advantage of supporting of high order function and so on.
I am interesting in which APIs implementation can be replaced for improve the effectiveness.
The logically correct answer is: no.
Both results run on the same JVM, so both implementations can be exactly the same in terms of processing efficiency. That Scala offers different language features doesn't change that.