Weekly Rust :Issue 1

In this issue of the weekly rust newsletter, we want to highlight some amazing projects, news and development in the Rust community

Rustaceans Editors
Rustaceans
2 min readDec 18, 2023

--

Image by MetaSchool

Today’s highlights: An exceptional book on Asynchronous Rust, the pre-release of Rust version 1.74.1, and thought-provoking pieces.

Welcome to #1!

Rust Pun

Why did the Rust code stay calm under pressure? Because it had good error handling!

Get ready to test Rust version 1.74.1 pre-release, featuring significant improvements:

  • Critical memory management issues are tackled by addressing the disposal order of llvm::TargetMachines and llvm::Context, mitigating potential use-after-free scenarios.
  • Function discriminants now offer clarity, ensuring only free lifetimes may be erased, minimizing confusion and enhancing stability guarantees.
  • Opaque type challenges are resolved by adjusting the order of subtyper and reveal_all, fixing reported issues in cases like #116332 and #116333.

You can check out the version 1.74.1 pre-release.

News

The Async Rust Book by Maxwell Flitton and Caroline Morton is in pre-release.

The eagerly anticipated book by Maxwell Flitton and Caroline Morton is now available for pre-release, featuring two accessible chapters.
If you’re interested in diving into asynchronous Rust, seize the opportunity to acquire this book.

You can also enjoy two free chapters, with additional content rolling out weekly. The official full release is expected by early 2024

You can check it out through this link.

Pieces

  • Niko Matsakis one of the core contributors of Rust wrote about post-NLL (Non-Lexical Lifetimes) challenges in Rust’s borrowing system, highlighting limitations and offering potential workarounds.
  • Explore lifetimes in Rust with Tom Kunc’s book, LifetimeKata a structured set of exercises designed for hands-on learning. The exercises, ranging from writing compiling code to generating specific errors, progress in difficulty, emphasizing a sequential completion for an enhanced learning experience
  • John Philip’s article delves into Rust Structs, covering their definition, use cases, and the implementation of functions associated with them.

--

--