Mehdi Akiki

Posts tagged "async"

  • Published on
    A deep dive into what actually happens when you write #[tokio::main]. We'll tear apart the macro, expose the state machines, and reveal the work-stealing scheduler hiding beneath five lines of code.
  • Published on
    Go's goroutines provide a built-in concurrency mechanism that makes it easy to run functions asynchronously, with efficient resource management.
  • 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.