Arash Sal Moslehian

An Introduction to Asynchronous Programming in Rust and a High-level Overview of Tokio's Architecture

Asynchronous programming allows the development of services that can handle millions of requests without saturating memory and CPU utilization. Support for asynchrony is usually baked into the programming language; we take a look at async support in Rust, a type-safe and memory-safe systems programming language that guarantees safety at compile time using rules that eliminate many issues prevalent in traditional languages. We take a peek at the inner workings of Tokio, an asynchronous runtime for Rust that provides scheduling, networking, and many other primitive operations for managing asynchronous tasks....

2023-01-25 · 54 min · 11413 words · Arash Sal Moslehian
Arash Sal Moslehian

OFMon: Offline-first Smart Energy Monitor with Rust, ESP32, and Thingsboard

Creating an smart energy monitoring platform using embedded Rust, Espressif microcontrollers, and Thingsboard.

2023-01-23 · 22 min · 4476 words · Arash Sal Moslehian