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.

 

blog comments powered by Disqus

 

Banner


How Secure Is Android? Very Secure
08/04/2015

In the past Android has had a poor reputation for security but this may be undeserved as a new report from Google spells out in detail.



Push Notifications Come To Chrome And Android
22/04/2015

The biggest problem the web has is its lack of push. Something new might be published, but you have to remember to navigate back to the page to see what it is - you have to contact the web page. Chrom [ ... ]


More News

Last Updated ( Sunday, 07 July 2013 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2015 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.