Rust 1.70.0 has been released with new features, improvements and bug fixes

Rust 1.70.0 has been released with new features, improvements and bug fixes

Rust, the popular programming language, has released version 1.70.0. This release enables everyone to build reliable and efficient software. Rust has been gaining popularity among developers in recent years due to its performance, safety, and memory management.

One of the new features in this release is the default enabling of Cargo's "sparse" protocol for reading the index from crates.io. This feature was previously stabilized with Rust 1.68.0, but still required configuration to use that with crates.io. With this new release, developers can use this feature without any additional configuration.

In addition to this, two new types have been stabilized for one-time initialization of shared data. OnceCell and its thread-safe counterpart OnceLock are now available for developers to use. These types allow for the initialization of data that can be shared across multiple threads without the need for complex synchronization.

Apart from these new features, Rust 1.70.0 also comes with other improvements and bug fixes. The Rust team has been working hard to make the language more user-friendly and efficient for developers.

by Paul

Rust iconRust
  147
  • ...

Rust is a powerful programming language with 32 alternatives on AlternativeTo, including popular languages like C++ and Go. It's known for being typesafe and offering static typing, making it a popular choice among developers. With an average rating of 4.8, Rust also boasts compiler explanations as one of its top features. If you're looking for a reliable programming language, Rust is definitely worth checking out.

Comments

RemovedUser
1

This is great! Can't wait to use the new features!

Review by a new / low-activity user.
Gu