Rust 1.3 Released
Rust 1.3 Released
Written by Kay Ewbank   
Tuesday, 22 September 2015

The Rust core team has released a stable version of Rust 1.3 with new object lifetime defaults.  


Systems programming language Rust is designed to be safe, fast and concurrent without having a garbage collector that is good for embedding in other languages, writing programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems.

The stable version of Rust 1.3 is faster than previous versions, mainly due to changes in the standard library. The release ships with a new book called Rustonomicon, a guide to “The Dark Arts of Advanced and Unsafe Rust Programming”. According to a post on the Rust language blog:

“while it’s still in draft form, this book already provides deep coverage of some of Rust’s darker corners”.

The new release has also benefited from API stabilization, including the new Duration API and enhancements to Error and Hash/Hasher.

The focus on improving performance by modifying the standard library means the substring matcher now uses a more efficient algorithm; there are improvements to zero filling that speed up Vec::resize and Read::read_to_end; and the PartialEq implementation on slices is now much faster.

The team has also added preliminary support for targeting Windows XP. While they do not intend to treat Windows XP as a “first tier” platform, it is now feasible to build Rust code for XP as long as you avoid certain parts of the standard library. The blog post says that work on MSVC toolchain integration is ongoing, with full support (on 64-bit) shipping in the 1.4 beta, which has shipped at the same time as the 1.3 stable version.

The main enhancement to Cargo, Rust’s package manager,is support for lint capping. The idea is that lints in your dependencies should not affect your ability to compile cleanly, which in turn makes it easier to tweak the way lints work without undue hassle in the ecosystem.

One breaking change in the new version comes in the new object lifetime defaults. The release notes on GitHub say that these:

“have been turned on after a cycle of warnings about the change”.

Now types like &'a Box<Trait> (or &'a Rc<Trait>, etc) will change from being interpreted as &'a Box<Trait+'a> to &'a Box<Trait+'static>.




Perl 5.28 Released

Perl 5.28 doesn't introduce radical changes, but mainly focuses on optimizations, performance improvements, security fixes, cleanups, module upgrades and removals. We've combined this version's delta  [ ... ]

Neural Networks Learn To Remove Noise Without Seeing A Good Image

Don't you just hate film grain? Except, of course, when you don't and set it as a special effect on your digital camera. NVIDIA now has a tool that will remove grain, noise and all manner of defects,  [ ... ]

More News






or email your comment to:

Last Updated ( Saturday, 23 January 2016 )

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