Skip to content

Commit 31a3825

Browse files
committed
More 0.4 release notes
1 parent 920bc0f commit 31a3825

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

RELEASES.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,19 @@ Version 0.4 (September 2012)
99
* Classes are replaced with simpler structs
1010
* Method self types
1111
* `ret` became `return` and `alt` became `match`
12+
* `import` is now `use`; `use is now `extern mod`
13+
* `extern mod { ... }` is now `extern { ... }`
14+
* `use mod` is the recommended way to import modules
15+
* `pub` and `priv` replace deprecated export lists
1216

1317
* Semantics
1418
* Trait implementations are now coherent, ala Haskell typeclasses
19+
* Trait methods may be static
20+
* Argument modes are deprecated
1521
* Borrowed pointers are much more mature and recommended for use
1622
* Strings and vectors in the static region are stored in constant memory
1723
* Typestate was removed
18-
* Resolution is rewritten to be more reliable
24+
* Resolution rewritten to be more reliable
1925
* Support for 'dual-mode' data structures (freezing and thawing)
2026
* Last-use analysis is only used for warnings now. Moves must be explicit
2127
for lvalues (TODO: confirm)
@@ -28,7 +34,8 @@ Version 0.4 (September 2012)
2834
* `core::task' gained a (currently very unsafe) task-local storage API
2935

3036
* Concurrency
31-
* An effecient new intertask communication primitive called `core::pipes`
37+
* An efficient new intertask communication primitive called the pipe,
38+
along with a number of higher-level channel types, in `core::pipes`
3239
* `std::arc`, an atomically reference counted, immutable, shared memory
3340
type
3441
* `std::sync`, various exotic synchronization tools based on arcs and pipes

0 commit comments

Comments
 (0)