Hacker News new | ask | show | jobs
by pkinsky 4188 days ago
Scala supports value types now: http://docs.scala-lang.org/overviews/core/value-classes.html
1 comments

The document says that you can't actually always avoid the Object allocations, because of the JVM. I'm pretty sure you'll need VM changes in addition to language changes for this.