
Quietly and quietly released a new version of Scala.
ProofThe release included many changes and improvements.
This release was made not “in breadth”, but “in depth”. Changes mainly relate to the improvement and optimization of the platform, rather than increasing functionality.
Therefore, I will describe only general changes. Details are best read in the original.
')
Modularity
- First, Scala is divided into separate core, swing, and so on libraries.
- The compiler will also be divided into three modules, the presentation compiler, scaladoc and the REPL.
This process is planned to be completed in branch 2.12.x.
Collections
- Produced serious work on the collections. Optimized various operations.
Reflection, macros and quasiquotes
A lot of changes. The topic is not easy, for those interested in verbose details here
Compiler
- Multiple performance improvements.
- Removed experimental .NET support.
- New Pattern Matcher
- New Bytecode Emitter
In general, the source code has been optimized. About 5,000 pieces of unused code have been removed.
Java 8 support is not complete yet.
During the work on the 11th version, 613 bugs were fixed.