Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What new features will be added to Scala 2.9?

I know parallel collections will become available.

What form will these take, and what else are we likely to see?

like image 273
Kevin Wright Avatar asked Oct 10 '10 15:10

Kevin Wright


2 Answers

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

like image 171
Matthew Farwell Avatar answered Sep 20 '22 18:09

Matthew Farwell


Have a look at this: Changes between Scala 2.8 and Scala 2.9

like image 35
Raphael Avatar answered Sep 19 '22 18:09

Raphael