问题
I know parallel collections will become available.
What form will these take, and what else are we likely to see?
回答1:
For the full list, see: Beyond 2.8 - A Roadmap
The main thing seems to be parallel collections. They are drop-in replacement for the scala collections, but the methods are executed in parallel.
From the scala days presentation by Aleksandar Prokopec:
Scala parallel collections that will be introduced in 2.8 reimplement standard collection operations while keeping compatibility with existing Scala collection framework. They also introduce new operations characteristic for parallel algorithms, and a few contracts the programmer should be aware of.
For a good video explanation of parallel collections, see Scala Parallel Collections - Aleksandar Prokopec
回答2:
Have a look at this: Changes between Scala 2.8 and Scala 2.9
回答3:
http://www.infoq.com/interviews/martin-odersky-scala-future
It's in Jan 2011 fairly recent. Might help you ^_^.
回答4:
Official site: Scala 2.9.0 RC1 (from 2011-03-25, scala-lang.org)
来源:https://stackoverflow.com/questions/3900879/what-new-features-will-be-added-to-scala-2-9