发布于 2014-06-30 23:23:14 | 240 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Scala 教程,程序狗速度看过来!

Scala 编程语言

可伸缩的语言是一种多范式的编程语言,一种类似java的编程 ,设计初衷是要集成面向对象编程和函数式编程的各种特性。Scala是在JVM上运行。


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 2.12.4 发布,编译时间再减少 5-10%
Scala 2.12.3 发布,多范式编程语言
Scala Native 0.3.0 发布,将 Scala 代码编译成本机代码
Scala Native 0.2.0 发布,将 Scala 代码编译成本机代码
Scala 2.12.1 发布,多范式编程语言
编程语言 Scala 2.12.0 正式版发布
编程语言 Scala 2.12.0-M3 发布
编程语言 Scala 2.10.6 发布
编程语言 Scala 2.12.0-M2 发布,要求 Java 8
编程语言 Scala 2.11.7 发布
编程语言 Scala 2.12.0-M1 发布
编程语言 Scala 2.10.5 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务