Rust 0.7 Released
Written by Ian Elliot   
Monday, 08 July 2013

Rust, the systems programming language being developed by Mozilla, has reached Version 0.7 and continues to evolve as a safe, concurrent systems language.

Rust is a curly-brace, block-structured expression language that looks similar to C and C++ and allows developers to write code that behaves well in large and concurrent systems. It originated as a side project designed by Mozilla developer Graydon Hoare, and is now being carried forward by Mozilla for Servo, its new browser engine that takes advantage of multicore processors.

According to the announcement posted by Brian Anderson:

This release had a markedly different focus from previous releases, with fewer language changes and many improvements to the standard library. The highlights this time include a rewrite of the borrow checker that makes working with borrowed pointers significantly easier and a comprehensive new iterator module (std::iterator) that will eventually replace the previous closure-based iterators.

Two other changes included in the detailed release notes are:

  • Cloning rather than copying
    The copy keyword is being removed in favor of traits. Explicit copying is now performed with the clone method of the Clone trait, which as part of the Rust prelude is always in scope.
  • Numeric traits
    There is now a proper numerical tower, defined in std::num with a comprehensive range of traits. All numeric types implement trait Num, which in turn inherits from the operator traits, Neg, Add, Eq, as well as the Zero and One traits. Num itself defines no methods. Signed types extend Num with methods specific to signed types, such as abs, and there's a corresponding Unsigned trait (that defines no new methods).

The rustpkg system, which is still experimental, has also seen some improvements with URL-like package IDs to refer to local or remote packages, the ability to download packages from GitHub, explicitly versioning in the new ids and the removal of the need to include a packaging script.

Rust is open source and released under the MIT or Apache 2 licences.

rust

More Information

Rust 0.7 Released

Rust-lang.org

Rust on GitHub

Related Articles

Rust 0.4 Full Integration of Borrowed Pointers

Mozilla Builds Servo, a New Browser Engine

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


Is PHP in Trouble?
10/04/2024

The April 2024 headline for the TIOBE Index, which ranks programming languages in terms of their popularity, reads, "Is PHP losing its mojo" asking this question because this month PHP has dropped out [ ... ]



Run WebAssembly Components Inside Node.js With Jco
28/03/2024

Jco 1.0 has been just announced by the Bytecode Alliance.It's a native JavaScript WebAssembly toolchain and runtime that runs Wasm components inside Node.js. Why is that useful?


More News

Last Updated ( Sunday, 07 July 2013 )