mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-29 03:27:44 +00:00
auto merge of #5496 : catamorphism/rust/release-notes, r=catamorphism
This commit is contained in:
commit
bd065d3311
18
RELEASES.txt
18
RELEASES.txt
@ -6,15 +6,16 @@ Version 0.6 (March 2013)
|
|||||||
* TODO:
|
* TODO:
|
||||||
* Ord/Cmp
|
* Ord/Cmp
|
||||||
* Lifetime changes
|
* Lifetime changes
|
||||||
* Implicit self
|
|
||||||
* Remove `static` keyword
|
* Remove `static` keyword
|
||||||
* Static method syntax
|
* Static method syntax
|
||||||
* `as Trait`
|
* `as Trait`
|
||||||
* `copy` removed, replaced with `Clone`?
|
* `copy` removed, replaced with `Clone`?
|
||||||
* `std::map` removed, replaced with `core::hashmap`
|
* More details for "Name resolution continues to be tweaked"?
|
||||||
|
|
||||||
* Syntax changes
|
* Syntax changes
|
||||||
* The self type parameter in traits is now spelled `Self`
|
* The self type parameter in traits is now spelled `Self`
|
||||||
|
* The `self` parameter in trait and impl methods must now be explicitly
|
||||||
|
named (for example: `fn f(&self) { }`). Implicit self is deprecated.
|
||||||
* Replaced the `Durable` trait with the `'static` lifetime
|
* Replaced the `Durable` trait with the `'static` lifetime
|
||||||
* The old closure type syntax with the trailing sigil has been
|
* The old closure type syntax with the trailing sigil has been
|
||||||
removed in favor of the more consistent leading sigil
|
removed in favor of the more consistent leading sigil
|
||||||
@ -23,7 +24,7 @@ Version 0.6 (March 2013)
|
|||||||
* Traits are implemented with `impl Trait for Type`
|
* Traits are implemented with `impl Trait for Type`
|
||||||
instead of `impl Type: Trait`
|
instead of `impl Type: Trait`
|
||||||
* The `export` keyword has finally been removed
|
* The `export` keyword has finally been removed
|
||||||
* The `move` keyword has been removed (linear types move by default)
|
* The `move` keyword has been removed (see "Semantic changes")
|
||||||
* The interior mutability qualifier on vectors, `[mut T]`, has been
|
* The interior mutability qualifier on vectors, `[mut T]`, has been
|
||||||
removed. Use `&mut [T]`, etc.
|
removed. Use `&mut [T]`, etc.
|
||||||
* `mut` is no longer valid in `~mut T`. Use inherited mutability
|
* `mut` is no longer valid in `~mut T`. Use inherited mutability
|
||||||
@ -37,6 +38,7 @@ Version 0.6 (March 2013)
|
|||||||
function modules. Use extern blocks: `extern { ... }`
|
function modules. Use extern blocks: `extern { ... }`
|
||||||
* Newtype enums removed. Used tuple-structs.
|
* Newtype enums removed. Used tuple-structs.
|
||||||
* Trait implementations no longer support visibility modifiers
|
* Trait implementations no longer support visibility modifiers
|
||||||
|
* Pattern matching over vectors improved and expanded
|
||||||
|
|
||||||
* Semantic changes
|
* Semantic changes
|
||||||
* Types with owned pointers or custom destructors move by default,
|
* Types with owned pointers or custom destructors move by default,
|
||||||
@ -49,12 +51,9 @@ Version 0.6 (March 2013)
|
|||||||
* The default type of an inferred closure is &fn instead of @fn
|
* The default type of an inferred closure is &fn instead of @fn
|
||||||
* Name resolution continues to be tweaked
|
* Name resolution continues to be tweaked
|
||||||
* Method visibility is inherited from the implementation declaration
|
* Method visibility is inherited from the implementation declaration
|
||||||
|
|
||||||
* Other language changes
|
|
||||||
* Structural records have been removed
|
* Structural records have been removed
|
||||||
* Many more types can be used in constants, including enums
|
* Many more types can be used in constants, including enums,
|
||||||
`static lifetime pointers and vectors
|
`static lifetime pointers and vectors
|
||||||
* Pattern matching over vectors improved and expanded
|
|
||||||
* Typechecking of closure types has been overhauled to
|
* Typechecking of closure types has been overhauled to
|
||||||
improve inference and eliminate unsoundness
|
improve inference and eliminate unsoundness
|
||||||
|
|
||||||
@ -68,6 +67,7 @@ Version 0.6 (March 2013)
|
|||||||
* Containers reorganized around traits in `core::container`
|
* Containers reorganized around traits in `core::container`
|
||||||
* `core::dvec` removed, `~[T]` is a drop-in replacement
|
* `core::dvec` removed, `~[T]` is a drop-in replacement
|
||||||
* `core::send_map` renamed to `core::hashmap`
|
* `core::send_map` renamed to `core::hashmap`
|
||||||
|
* `std::map` removed; replaced with `core::hashmap`
|
||||||
* `std::treemap` reimplemented as an owned balanced tree
|
* `std::treemap` reimplemented as an owned balanced tree
|
||||||
* `std::deque` and `std::smallintmap` reimplemented as owned containers
|
* `std::deque` and `std::smallintmap` reimplemented as owned containers
|
||||||
* `core::trie` added as a fast ordered map for integer keys
|
* `core::trie` added as a fast ordered map for integer keys
|
||||||
@ -76,14 +76,14 @@ Version 0.6 (March 2013)
|
|||||||
* Tools
|
* Tools
|
||||||
* Replaced the 'cargo' package manager with 'rustpkg'
|
* Replaced the 'cargo' package manager with 'rustpkg'
|
||||||
* Added all-purpose 'rust' tool
|
* Added all-purpose 'rust' tool
|
||||||
* `rustc --test` now supports a benchmarks with the `#[bench]` attribute
|
* `rustc --test` now supports benchmarks with the `#[bench]` attribute
|
||||||
* rustc now attempts to offer spelling suggestions
|
* rustc now attempts to offer spelling suggestions
|
||||||
|
|
||||||
* Misc
|
* Misc
|
||||||
* Improved support for ARM and Android
|
* Improved support for ARM and Android
|
||||||
* Preliminary MIPS backend
|
* Preliminary MIPS backend
|
||||||
* Improved foreign function ABI implementation for x86, x86_64
|
* Improved foreign function ABI implementation for x86, x86_64
|
||||||
* Various and memory usage improvements
|
* Various memory usage improvements
|
||||||
* Rust code may be embedded in foreign code under limited circumstances
|
* Rust code may be embedded in foreign code under limited circumstances
|
||||||
|
|
||||||
Version 0.5 (December 2012)
|
Version 0.5 (December 2012)
|
||||||
|
Loading…
Reference in New Issue
Block a user