Asynchronous Runtime For Rust Released
Written by Kay Ewbank   
Monday, 18 January 2021

Tokio, an asynchronous runtime for the Rust programming language, has been released in a 1.0 version. Tokio can be used to write reliable networking applications without compromising speed.

Tokio comes with asynchronous APIs for TCP, UDP, timers, a multi-threaded, and a work-stealing scheduler. Rust was designed to offer a safe, fast and concurrent language without having a garbage collector. It was originally sponsored by Mozilla, and is intended for use in situations including embedding in other languages, writing programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems.

tokio

Tokio was first announced four years ago, and has been in development ever since. The aim was for it to make writing robust, scalable, and production ready network clients and servers as easy as possible. It does this by focusing on small and reusable components, and by being very fast.

Since then, it has evolved significantly. The most notable change happened a year ago with the addition of async and await to Rust. Today, Tokio is easier to use and more powerful. This evolution has also caused some friction. It has required libraries to track these changes, and could result in confusing error messages when accidentally depending on multiple versions of Tokio.The Tokio 1.0 release ends this churn. As part of the release, we are committing to providing a stable foundation for the ecosystem. We have no current plans for Tokio 2.0 and we commit to holding back on a Tokio 2.0 release for at least 3 years. We plan to maintain the Tokio 1.0 branch for a minimum of 5 years. Tokio will keep a rolling MSRV (Minimum Supported Rust Version) policy of 6 months. When increasing the MSRV, the new Rust version must have been released at least six months ago.

 tokio

More Information

Tokio on GitHub

Related Articles

Apache Arrow 2 Improves C++ and Rust Support

Rust Survey 2020

Amazon AWS Invests In Rust

Rust 1.46 Adds New APIs 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


LeetGPU - The CUDA Challenges
04/04/2025

LeetGPU is a platform where you can write and test CUDA code.
Now it adds Challenges to foster competition, asking you to put your GPU programming skills to the test by writing the fastest program [ ... ]



Akka Adds New Deployment Options
30/04/2025

Akka has announced new deployment options for its Akka platform, as well as new solutions to tackle the issues with deploying large-scale agentic AI systems for mission-critical applications.


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 18 January 2021 )