@@ -9,13 +9,19 @@ Version 0.4 (September 2012)
9
9
* Classes are replaced with simpler structs
10
10
* Method self types
11
11
* `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
12
16
13
17
* Semantics
14
18
* Trait implementations are now coherent, ala Haskell typeclasses
19
+ * Trait methods may be static
20
+ * Argument modes are deprecated
15
21
* Borrowed pointers are much more mature and recommended for use
16
22
* Strings and vectors in the static region are stored in constant memory
17
23
* Typestate was removed
18
- * Resolution is rewritten to be more reliable
24
+ * Resolution rewritten to be more reliable
19
25
* Support for 'dual-mode' data structures (freezing and thawing)
20
26
* Last-use analysis is only used for warnings now. Moves must be explicit
21
27
for lvalues (TODO: confirm)
@@ -28,7 +34,8 @@ Version 0.4 (September 2012)
28
34
* `core::task' gained a (currently very unsafe) task-local storage API
29
35
30
36
* 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`
32
39
* `std::arc`, an atomically reference counted, immutable, shared memory
33
40
type
34
41
* `std::sync`, various exotic synchronization tools based on arcs and pipes
0 commit comments