|Tags||rust programming-language compiler concurrent type-safe|
1.0.015 May 2015 20:25 major feature: Around 1500 changes, numerous bugfixes. Highlights: The vast majority of the standard library is now stable. It is no longer possible to use unstable features with a stable build of the compiler. Many popular crates on crates.io now work on the stable release channel. Arithmetic on basic integer types now checks for overflow in debug builds. Language: Several restrictions have been added to trait coherence in order to make it easier for upstream authors to change traits without breaking downsteam code. Digits of binary and octal literals are lexed more eagerly to improve error messages and macro behavior. For example, 0b1234 is now lexed as 0b1234 instead of two tokens, 0b1 and 234 . Trait bounds are always invariant, eleminating the need for the PhantomFn and MarkerTrait lang items, which have been removed. "-" is no longer a valid character in crate names, the extern crate "foo" as bar syntax has been replaced with extern crate foo as bar , and Cargo now automatically translates "-" in package names to underscore for the crate name. Lifetime shadowing is an error. Send no longer implies 'static . UFCS now supports trait-less associated paths like MyType::default() . Primitive types now have inherent methods, obviating the need for extension traits like SliceExt . Methods with Self: Sized in their where clause are considered object-safe, allowing many extension traits like IteratorExt to be merged into the traits they extended. You can now refer to associated types whose corresponding trait bounds appear only in a where clause. The final bits of OIBIT landed, meaning that traits like Send and Sync are now library-defined. A Reflect trait was introduced, which means that downcasting via the Any trait is effectively limited to concrete types. This helps retain the potentially-important "parametricity" property: generic code cannot behave differently for different type arguments except in minor ways. The unsafe_destructor feature is
0.12.014 Oct 2014 22:05 major feature: The introductory documentation (now called The Rust Guide) has been completely rewritten, as have a number of supplementary guides. Rust's package manager, Cargo, continues to improve and is sometimes considered to be quite awesome. Many API's in std have been reviewed and updated for consistency with the in-development Rust coding guidelines. The standard library documentation tracks stabilization progress. Minor libraries have been moved out-of-tree to the rust-lang org on GitHub: uuid, semver, glob, num, hexfloat, fourcc. They can be installed with Cargo. Lifetime elision allows lifetime annotations to be left off of function declarations in many common scenarios. Rust now works on 64-bit Windows.
ManageYou can also help out here by:
← Update project
or flagging this entry for moderator attention.
Share project 163