https://github.com/liten-rs/liten
An alternative rust async runtime.
https://github.com/liten-rs/liten
async rust
Last synced: 10 months ago
JSON representation
An alternative rust async runtime.
- Host: GitHub
- URL: https://github.com/liten-rs/liten
- Owner: liten-rs
- License: mit
- Created: 2025-02-04T19:03:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-17T01:32:32.000Z (11 months ago)
- Last Synced: 2025-08-17T03:24:56.870Z (11 months ago)
- Topics: async, rust
- Language: Rust
- Homepage: https://v-thomas.com/logs/making-a-multithreaded-rust-async-runtime
- Size: 479 KB
- Stars: 47
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Liten
An async runtime for Rust, designed to be performant, minimal and simple.
# Motivation
I wanted to see how an async runtime worked in rust, so i created my own. I wanted to build this with these criteria:
* Minimal Overhead – Focused on performance and low-latency execution.
* No Unnecessary Dependencies – Lightweight and focused design.
* Efficient - Making the most use of the users/servers CPUs.
# Technicals
* Mutlithreaded: Built on the [N:M](https://en.wikipedia.org/wiki/Thread_(computing)#M:N_(hybrid_threading)) threading model.
* Work stealing scheduler: Making the most use of the CPUs.
* Networking ready: [TcpListener](https://docs.rs/liten/latest/liten/net/struct.TcpListener.html)/[UdpSocket](https://docs.rs/liten/latest/liten/net/struct.UdpSocket.html) builtin.
* Efficient IO handling: liten is using the widely used [mio](https://docs.rs/mio) library for its IO event loop.
# LICENSE
The project is licensed under the [MIT License](https://opensource.org/license/mit).