tokio VS rfcs

Compare tokio vs rfcs and see what are their differences.

tokio

A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ... (by tokio-rs)

rfcs

RFCs for changes to Rust (by rust-lang)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
tokio rfcs
70 234
13,967 3,982
3.8% 2.1%
9.6 9.2
6 days ago 7 days ago
Rust Shell
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tokio

Posts with mentions or reviews of tokio. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-25.

rfcs

Posts with mentions or reviews of rfcs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-23.
  • Is it possible to suppress a lifetime parameter of a struct in the same way that you can cast a reference to a pointer?
    1 project | reddit.com/r/rust | 26 Nov 2021
  • What the turbofish
    1 project | reddit.com/r/rust | 25 Nov 2021
    The keyword that may help more here is UFCS, or Universal Function Call Syntax. Also see this RFC
  • Collective Code Construction Contract
    3 projects | reddit.com/r/ProgrammingLanguages | 23 Nov 2021
    Rust has its governing body too, which looks at RFCs: https://github.com/rust-lang/rfcs
  • Moderation Team Resignation
    3 projects | reddit.com/r/rust | 22 Nov 2021
    A cursory reading of the Rust Governance hints that the Core Team is above the subteams, including the Mod Team. So in this case the ability to recall would be held by the Core Team?
  • What do you NOT like about Rust?
    18 projects | reddit.com/r/rust | 21 Nov 2021
    Still missing named/default parameters. I know that's a bit of a controversial addition, but the boilerplate from alternative methods (such as the builder pattern) really bothers me. The RFC about adding this is here if anyone is interested. Seems to be generally approved of, but the implementation is difficult.
    18 projects | reddit.com/r/rust | 21 Nov 2021
    This is what I was talking about: https://github.com/rust-lang/rfcs/blob/master/text/2909-destructuring-assignment.md
    18 projects | reddit.com/r/rust | 21 Nov 2021
    What might also interest you is the RFC for let chains, which I recently heard was making progress: https://github.com/rust-lang/rfcs/blob/master/text/2497-if-let-chains.md
  • cargo-local-install
    1 project | reddit.com/r/rust | 21 Nov 2021
    There's also a merged RFC for cargo that would let you add bin dependencies to your crate – I wonder if this would be made obsolete by that?
  • Why are so many important features not in standard library yet?
    9 projects | reddit.com/r/rust | 20 Nov 2021
    Rust has been focused on broad applicability since before v1.0, when decisions were made to do things like removing the green threading runtime (a goroutine-like feature) and turning the sigils into library types in order to ensure that people could write their own building blocks to support their niches.
    9 projects | reddit.com/r/rust | 20 Nov 2021
    That said, useful functionality does occasionally graduate from a third-party crate into the standard library (std::future is one such example), but it is always done via RFCs that carefully lay out the benefits and drawbacks of doing so. See https://github.com/rust-lang/rfcs for more about the Rust RFC process. Just because lots of people vote for something doesn't necessarily make it the right thing when the benefits and drawbacks are measured, which is what the RFC process seeks to draw out.

What are some alternatives?

When comparing tokio and rfcs you can also consider the following projects:

async-std - Async version of the Rust standard library

rayon - Rayon: A data parallelism library for Rust

Rocket - A web framework for Rust.

sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL.

smol - A small and fast async runtime for Rust

hyper - An HTTP library for Rust

bevy - A refreshingly simple data-driven game engine built in Rust

warp - A super-easy, composable, web server framework for warp speeds.

winit - Window handling library in pure Rust

sled - the champagne of beta embedded databases

reqwest - An easy and powerful Rust HTTP Client

crossbeam - Tools for concurrent programming in Rust