`
wislin
  • 浏览: 78422 次
  • 性别: Icon_minigender_1
  • 来自: 四川
社区版块
存档分类
最新评论

scala2.8 beta终于露出水面了。

阅读更多
scala2.8 已经有了初步成效了。beta版出来,正式版应该也不远了。
又有得学习的了。学多了真累。
http://old.nabble.com/-scala--Scala-2.8.0-Beta-1-td27339970.html

After many months of hard work, the Scala Team is proud to release
the first beta of the much-awaited new Scala 2.8! Scala 2.8.0 Beta 1
is now available from our Download Page. It includes a huge number
of bug fixes with respect to 2.7.7, and many new features. This beta
is the foundation for the release of the upcoming final version
of 2.8.0, expected in a few months. You can download the Scala 2.8.0
Beta 1 pre-release from: http://www.scala-lang.org/downloads


The Scala 2.8.0 Beta distribution
=====================================

What is new?
============

The new Scala 2.8 codebase includes the following new fixes and features:

- Redesigned collection library

   The collection library has undergone a complete overhaul for Scala
   2.8, offering a more coherent and efficient design, while
   maintaining virtually complete compatibility with existing sources.
   Detailed information at: http://www.scala-lang.org/sid/3

- New array implementation, manifests for polymorphic arrays

   Handling of arrays has been simplified and optimized in Scala 2.8.
   The previous compiler magic has been replaced by a more systematic
   and predictable implementation in terms of implicit conversions.
   Full details at: http://www.scala-lang.org/sid/7

- Type specialization

   Scala 2.8 adds specialized type parameters, which enable the
   compiler to generate transparently multiple versions of a given
   definition, and to use the most specific version whenever the static
   type information at a call site allows it. Details at:
  http://www.scala-lang.org/sid/9

- Named and default arguments

   Named arguments improve the readability of method calls with many
   arguments. Default arguments reduce code duplication, and enable
   "copy" methods for case classes, useful to generate quickly modified
   copies of case classes. A complete description at:
  http://www.scala-lang.org/sid/1

- Package objects

   Packages can now contain besides classes and objects also methods,
   fields or type aliases. These are added to a package by declaring a
   package object. Package objects are still work in progress; more
   capabilities might come for 2.8 final or a release soon afterwards.

- Beefed up Scala Swing libraries, better documentation

   Components publish key events, input events can be consumed,
   refactored window subhierarchy, additional demos, Swing listeners
   are installed lazily, more complete component caching, minor
   refactorings, bugfixes, more Scaladocs. Design document at:
   http://www.scala-lang.org/sid/8

- Revamped REPL

   Many bugfixes. Tab-completion for all packages on the classpath, as
   well as object and instance methods and fields, including type
   aliases and package objects. Searchable history, integrated shell
   access, and a power mode which offers direct access to compiler
   internals.

- Implicits changes

   We have refined the implicit resolution process so that resolution
   is now able to determine type variables.

- Improved equality

   Equality across numeric types is to be consistent across all the
   primitives types, while also adhering to the equals/hashCode
   contract. Numeric comparisons will have the same results as they
   would between Java primitives. This is currently still being
   completed.

- Packrat parser combinators

   With support for packrat parsing, parser combinators are now able to
   handle left-recursive grammars and will show improved performance
   for ambiguous productions.

- Improved XML library

   Many bugfixes.

- Type constructor inference

   Type inference has been extended to deal with type constructors,
   so that, in certain cases, you can omit type parameter lists that
   contain higher-kinded types (aka type constructors, e.g., List).

- Improved Annotations

   Scala 2.8 adds support for nested java annotations. For annotations
   on fields, it is now possible to specify which synthetic members
   (getter / setter) will have the annotation. Documentation about
   Scala annotations can be found at: http://www.scala-lang.org/sid/5

- Enhanced actors

   New Reactors provide more lightweight, purely event-based actors
   with optional, implicit sender identification. Support for actors
   with daemon-style semantics was added. Actors can be configured to
   use the efficient JSR166y fork/join pool, resulting in significant
   performance improvements on 1.6 JVMs. Schedulers are now pluggable
   and easier to customize.

- Support for continuations

   Continuations are supported by a compiler plugin. This plugin is not
   included in this first beta, but will be added in subsequent
   releases.


Internal improvements
=====================

- New presentation compiler

   This new infrastructure, within the Scala compiler, enables IDEs to
   hook into the compiler to find efficiently information about the
   structure of the program under editing. This new code offers a
   better platform for the development of IDE plugins.

- New build manager

   The new feature used by for example Eclipse to detect intelligently
   changes in the files and compile only necessary Scala sources,
   instead of performing clean build on whole projects. This technique
   enables to significantly reduce the compilation time on bigger
   projects.

- Speed improvements

   The compiler now runs as optimised code. In addition, a number of
   improvements and fine-tunings have further improved the compiler
   speed up to 50%.


Bug fixes
=========

- Scala 2.8 includes a huge number of bug fixes; the main ones are
   listed at:[url= http://www.scala-lang.org/node/299] http://www.scala-lang.org/node/299[/url]


Additional tools
================

- Scaladoc 2

   A new look-and-feel, automatic comments expansion and wiki-like
   syntax, as well as compile-time error checking. Read more about
   changes on the Scaladoc 2 mini-site at
[url=  http://lampsvn.epfl.ch/trac/scala/wiki/Scaladoc]  http://lampsvn.epfl.ch/trac/scala/wiki/Scaladoc[/url]

- Sbaz 2

   Sbaz includes many bug fixes and enhancements. It now gives better
   feedback to the user during lengthy downloads and while diagnosing
   dependency audits, which in turn have been re-factored and enhanced.
   Sbaz should work properly on Windows using either cmd or cygwin, and
   is now capable of reliably updating itself. Support for pack200 has
   been added, in some cases reducing file sizes up to 70%.

- Scalap

   A new Scalap, contributed by the community, is included. The new
   Scalap is aware of package objects and can decompile them by using
   <package_name>.package

- Scala IDE for Eclipse

   The IDE has been extensively reworked with much functionality moved
   into the Scala compiler where it can be better maintained and reused
   by non-Eclipse IDEs and other tools. The integration with Eclipse's
   JDT has been deepened, and much previously Scala-specific behaviour
   and functionality is now provided directly by the JDT leading to
   across the board improvements.

   During the beta preview period, the Scala IDE for Eclipse will be
   updated more frequently with respect to the main Scala beta
   releases. You can follow its development by using the following
   update site:

[url=   http://www.scala-lang.org/scala-eclipse-plugin-beta-preview]   http://www.scala-lang.org/scala-eclipse-plugin-beta-preview[/url]

   Please note that you must use this address as an update site within
   Eclipse as described on this page, it cannot be visited using your
   internet browser.


Acknowledgments and Thanks
==========================

Many members of the Scala community have helped us by fixing or
reporting bugs, contributing new code and tools (including some of
those listed above), and addressing user questions on the mailing
lists: their contributions help shaping the future of Scala day by
day.


- We would like to thank:

Paul Phillips, Miles Sabin, Ilya Sergey, Caoyuan Deng, James Matlik,
Frank Teubler, Kevin Wright, Manohar Jonnalagedda, Pedro Furlanetto,
Johannes Rudolph, Jason Zaugg, Seth Tisue, Ismael Juma, Mark Harrah,
Miguel Garcia, Colin Howe, Mirko Stocker, Spiros Tzavellas, Matt
Russell, David Taylor, and all the other frequent contributors to our
mailing lists, too many to list here. Thank you all!



The Scala Team at EPFL
======================

Martin Odersky, Lukas Rytz, Hubert Plociniczak, Iulian Dragos,
Gilles Dubochet, Philipp Haller, Aleksandar Prokopec, Antonio Cunei,
Tiark Rompf, Eugene Zouev, Donna Malayeri, Phil Bagwell, Adriaan
Moors, Ingo Maier.
分享到:
评论

相关推荐

    scala2.8 api

    scala 2.8 api 文档 chm格式

    scala-collections-charts:Scala 2.8 Collections API主要类型为点图(GraphViz)

    Scala 2.8 Collection API图表 这是 .dot文件的一个小集合,其中包含与Scala 2.8 Collection API最相关类型的图表说明。 您可以在上看到最终结果。 这些图表也可以在上。 任何反馈当然都是非常欢迎的。 如何建造 在...

    scala-2.8.0.final(1)

    scala-2.8.0.final scala-2.8.0.final

    xalanjava源码-SyntaxDiagramGenerator:Scala2.8的语法图生成插件,基于http://blog.32lea

    xalan java源码基于以下位置的示例代码和示例: 根据原始知识共享署名-相同方式共享 3.0 未移植许可证获得许可。 在 SBT 中,运行package来构建。...project/boot/scala-2.8.0/lib/scala-library.j

    maven-scala-plugin-2.8.jar

    maven-scala-plugin-2.8.jar

    Programming-in-Scala-2nd.pdf

    advantage of the latest features in Scala 2.8, and to using this book as the definitive reference for it, direct from the creator of the language I’ve grown to depend on. Alex Payne Portland, Oregon ...

    maven-scala-plugin-2.8-site.jar

    maven-scala-plugin-2.8-site.jar

    Scala编程英文第二版

    Scala 2.8引入了类型推断的改进,增强了类型系统,如类型类和类型构造器。另外,还引入了新的模块系统,以更好地组织和管理大型项目。 **编程实践** 《Programming in Scala, 2nd Edition》这本书详细介绍了如何...

    scala sdk scala-2.12.3

    Scala SDK,全称为Scala Software Development Kit,是用于开发Scala应用程序的核心工具集。Scala是一种多范式的编程语言,融合了面向对象和函数式编程的特点,它运行在Java虚拟机(JVM)上,能够充分利用Java生态...

    Programming in Scala 2nd Edition

    本书是为Scala 2.8版本更新的,因此包含了最新的特性和技术改进。 #### 书籍特色 1. **全面性**:本书通过循序渐进的方式,为读者提供了一个从基础到高级的完整学习路径。 2. **深入浅出**:作者不仅提供了代码...

    scala3 scala3 scala3 scala3 scala3

    Scala3,也被称为Scala 3或Dotty,是Scala编程语言的一个重大更新,旨在提高其简洁性、可读性和类型安全性。Scala3的发布标志着该语言的进一步成熟,它引入了一系列改进,旨在解决早期版本中的一些痛点,同时保持对...

    Programming in Scala, 2nd Edition

    This second edition provides more than 100 pages of new material that covers new features in Scala 2.8, including: The design of the new collections library Structural subtyping The new rules for ...

    scala2.12.1Windows镜像包

    Scala是一种强大的多范式编程语言,它融合了面向对象和函数式编程的概念。这个"scala2.12.1Windows镜像包"是为Windows操作系统设计的Scala编程环境的安装包,版本号为2.12.1。Scala 2.12.x系列是其重要的一个稳定...

    scala-2.12.10.zip

    Scala是一种强大的多范式编程语言,它融合了面向对象和函数式编程的概念。这个"scala-2.12.10.zip"文件是Scala编程语言的特定版本——2.12.10,专为Windows操作系统设计的安装包。Scala 2.12.x系列是该语言的一个...

    scala + mybatis 数据库查询

    Scala是一种强大的多范式编程语言,它结合了面向对象和函数式编程的特性。MyBatis则是一款流行的Java持久层框架,主要用于简化数据库操作。在本项目中,"scala + mybatis 数据库查询",我们将探讨如何将Scala与...

    scala handbook

    Scala2.8手册中提到了Scala的一些关键特性: 1.速度:Scala利用JVM的高度优化,提供了比传统动态语言更好的性能。 2.易用的数据结构:Scala库提供了许多易于使用的数据结构,如列表、数组、集合等。 3.OOP和FP的...

    scala实战高清讲解

    Scala是一种强大的多范式编程语言,它融合了面向对象和函数式编程的特性,使得它在处理并发和大数据分析方面表现出色。"Scala实战高清讲解"这本书是学习Scala的宝贵资源,尤其对于那些希望深入理解并提升Scala技能的...

    Scala语法简明教程

    ### Scala语法简明教程知识点详解 #### Scala语言简史 - **诞生历史**:Scala起源于瑞士联邦理工学院洛桑(EPFL),由Martin Odersky在2001年开始设计,其灵感来源于Funnel——一种结合了函数式编程思想与Petri网...

    Scala考试题1

    Scala 是一种多范式的编程语言,它融合了面向对象和函数式编程的特性。下面将详细解释题目中涉及的Scala知识点: 1. **var、val 和 def 的区别**: - `var` 定义可变变量,可以多次赋值。 - `val` 定义不可变变量...

    最好的scala学习 课件

    Scala是一种强大的多范式编程语言,它融合了面向对象和函数式编程的特性,被广泛应用于大数据处理领域,特别是与Apache Spark相结合时。本课件是针对Scala学习者精心准备的资源,旨在帮助你深入理解和掌握Scala的...

Global site tag (gtag.js) - Google Analytics