3 ms·
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 requi
by kasey_junk 13y ago
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.