Skip to content
Domain Specific Language

Tag: #rust

New guide: Rust resources

Three years, eight months, and two days ago I started a local project on my computer called my-little-rust. I tried out some match statements, I Boxed a few things, and I haven't stopped since. It seems I'm a card carrying member of the Rust Evangelism Strike Force now.

An overview of the concepts in async / await in Rust

Async / await in Rust promises to simplify concurrent code, and to allow a large number of concurrent tasks to be scheduled at the same time — with less overhead than the same number of OS Threads would require.

In general, async / await lets you write code that avoids "callback hell", in favor of a linear style similar to blocking code while still letting other tasks progress during awaits.

Strings in Rust

During the last 20 years I have used a number of garbage collected and reference counted programming languages. All of them have a single type for representing strings. Rust has two types of strings that can be stored in three different ways.

I want to shortly illustrate how Rust's strings interact with the heap, with the stack, and with the data segment of your binary, as well as shortly explain what those things are.

Rust 2020

We have all been called upon by the rust community to share our thoughts on what we want from Rust in 2020.