Our roadmap lists the following upcoming releases for 2016: The list of open-source libraries released for Scala 2.12 is growing quickly! This allows us to keep improving the Scala compiler and standard library.Īll 2.12.x releases will be fully binary compatible with 2.12.0, in according with the policy we have followed since 2.10. CompatibilityĪlthough Scala 2.11 and 2.12 are mostly source compatible to facilitate cross-building, they are not binary compatible. Closure allocations, dead code, and box/unbox pairs are eliminated more often.įor additional features, read on.Inlining: many more (effectively) final methods, including those defined in objects and traits, are now inlined.This release ships with a powerful new optimizer: No class file is generated for a lambda invokedynamic is used instead. The FunctionN classes in Scala’s standard library are now Single Abstract Method (SAM) types, and all SAM types are treated uniformly – from type checking through code generation. Scala and Java 8 interop is also improved for functional code, as methods that take functions can easily be called in both directions using lambda syntax. This improves binary compatibility and Java interoperability.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |