手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Scala 2.12 发布计划

[日期:2014-07-01] 来源:oschina.net   作者:Linux [字体:大 中 小]

Scala 2.12 会要求 Java 8,Scala 2.11 将会继续支持 Java 6。以下是 Scala 2.11 和 Scala 2.12 的共有特性:

  • Compile lambdas efficiently using method handles. (Separate compatibility module needed on 2.11 – see below.)

  • Java 8 interop (bidirectional):

  • Fully integrate Miguel’s new back-end & optimizer (refactor code, test & document in-depth, remove old back-end).

  • Style checker: an efficient, community-driven, platform for accurate coding style checking (built on top of the compiler).

  • Collections: improve test coverage, performance, documentation (& modularize?)

  • Improve documentation: focus on content. (This is a great place to start contributing, as well as on the tooling side of documentation.)

  • Continue infrastructure improvements (sbt build, improve pull request validation & release automation, bug tracker cleanup and automation).

Scala 2.12 将会有更多的 Java 8 特性:

  • Turn FunctionN into Functional Interfaces, so that Java 8 code can call higher-order methods in Scala without a wrapper.

  • Support for @interface traits, which are guaranteed to compile to Java interfaces (useful for interop, performance and binary compatibility). This is a generalization of the above feature.

  • Streams: integrate into Scala collections? (Anywhere from providing converters to replacing existing functionality.)

  • Use the JDK’s forkjoin library instead of embedding our own. (Switch the global default ExecutionContext to be backed by the ForkJoinPool.commonPool().)

  • SIP-20 Improved lazy val initialization (if time allows).

发布计划

Scala 2.10.5 (Q4 2014) 将会是最后的 2.10 版本。以下是发布计划:

   
2.10.0 04/01/2013 First 2.10.x release
2.11.0 16/04/2014 First 2.11.x release
2.11.1 19/05/2014  
2.11.2 21/07/2014  
2.11.3 29/09/2014  
2.10.5 Q4 2014 Last 2.10.x release
2.12.0-M1 24/11/2014  
2.11.4 Dec 2014  
2.12.0-M{2,3,4} Q{1,2,3} 2015 quarterly 2.12.0-Mx releases
2.12.0-M5 Oct 2015  
2.12.0-RC1 Nov 2015 (1 year after M1)
2.12.0 Jan 2016  

更多内容请看这里。

Scala是一门现代的多范式编程语言,志在以简练、优雅及类型安全的方式来表达常用编程模式。它平滑地集成了面向对象和函数语言的特性。

Scala十岁了:下一个十年最走向何方? http://www.linuxidc.com/Linux/2014-01/95670.htm

Scala 的详细介绍:请点这里
Scala 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-07/103903.htm

linux
相关资讯       Scala 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款