Rust 1.32 Released With New Debugger Macro, Jemalloc Disabled By Default
Written by Michael Larabel in Free Software on 17 January 2019 at 03:40 PM EST. 50 Comments
FREE SOFTWARE --
For fans of Rustlang, it's time to fire up rustup: Rust 1.32 is out today as the latest feature update for this increasingly popular programming language.

The Rust 1.32 release brings dbg!() as a new debug macro to print the value of a variable as well as its file/line-number and it works with more than just variables but also commands.

Another developer-facing change with Rust 1.32 is that it removes jemalloc by default: previously jemalloc was used over the system memory allocator for better performance but this is no longer really relevant. With Rust 1.32+, the system allocator is used for programs but there is still the jemallocator crate should you prefer jemalloc.

Rust 1.32 also brings other module and macro improvements and minor library stabilization work. More details on today's update via Rust-Lang.org.

About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Free Software News
Popular News This Week