What new features will be added to Scala 2.9?

痞子三分冷 提交于 2019-12-04 16:01:57

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!