Multithreaded library or Multithreaded application?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

  • Futures work very differently than threads: They enable cooperative multitasking. It's a really complex topic to explain. The result is that if you use futures, you need an async runtime such as tokio, and all the libraries you use for IO need to work with Futures. There are two ways how IO can be implemented: In a blocking way (which works well with threads managed by the operating way) or in an asynchronous way (which works well with an async runtime). Because pcap, the library you use, isn't asynchronous, using Futures doesn't make sense.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts