An Alternative Syntax for Async Functions in Rust

After thinking about the async fn in traits problem for a while, I’ve come to the conclusion that the syntax Rust chose for async fn is the wrong one. Specifically, the fact that the returned future type is hidden is quite limiting. Here’s how we can fix … Read more

Similar

Develop Secure Application with Rust

Rust is a multi-paradigm language of which one of the objectives is to challenge the conflict between high-level ergonomics and fine-grained memory management. Among the abundant constructions and features it proposes, some can enable the introduction of ... (more…)

Read more »

Working with Strings in Rust

There's a question that always comes up when people pick up the Rust programming language: why are there two string types? Why is there String, and &str? My Declarative Memory Management article answers the question partially, but there is a lot more ... (more…)

Read more »

The Rust for Linux Workshop

UNDER CONSTRUCTION I had the honor of attending this workshop , however, this is not a full report. Instead, I am reporting on what I learned and how it relates to my So You Want to Rust the Linux Kernel? blog series that I started in 2021, and of which t... (more…)

Read more »