Re:Parallel Roguelike Lev-Gen Benchmarks: Rust, Go, D, Scala...
by kasey_junk on Friday August 23, 2013 @11:58AM
(#6264377)
This is absolutely true if you are writing idiomatic Scala code (especially if you are using their collections api).
That said, you can lower your memory requirements dramatically using pretty standard high performance JVM techniques in Scala much as you can in Java. I've designed server systems in scala that produce no garbage for weeks at a time.
This can be a good option if you have some small subset of your system that needs to be memory sensitive/high performance without having to lose the benefits of the JVM in the rest of the system.
For many applications this doesn't matter, especially with how cheap RAM is. But for some applications, such as mobile games and rented server space where your profitability is a function involving RAM cost per user, this can be very significant.