Re:Scala Native
by dwohnitmok on Tuesday August 20, 2019 @12:22AM
(#20743812)
I have my share of grievances against Scala, but the difference in collection libraries only feels painful if your app can't tolerate the performance hit of re-copying a collection (which to be fair does sometimes occur on hot codepaths). Otherwise it's a simple .toScala or .toJava call away.
Also arrays are one place where Scala and Java do happen to share the same collection.
Also arrays are one place where Scala and Java do happen to share the same collection.