Mehdi Akiki

Posts tagged "rust"

  • Published on

    Reference · Through the layers

    Rust Async Libraries

    Rust relies on external libraries like Tokio, async-std, and smol for asynchronous programming, offering flexibility and different performance levels to suit various project needs.
  • Published on

    Reference · Through the layers

    Understanding Tokio Task Functions

    Explore how Tokio's spawn, spawn_blocking, and block_on functions allow efficient handling of asynchronous, blocking, and CPU-heavy tasks in Rust applications, with practical use cases for each.
  • Published on
    Explore why over-reliance on else can increase cognitive load in Rust, and discover alternative control flow patterns such as early returns, match expressions, and combinators that simplify code and improve readability.
  • Published on
    Discover the top three new features introduced in Rust 1.80, enhancing performance, developer experience, and memory management.