io-uring
rust-blog
io-uring | rust-blog | |
---|---|---|
2 | 63 | |
1,064 | 6,622 | |
2.5% | - | |
7.3 | 5.0 | |
4 days ago | about 2 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
io-uring
-
Create a data structure for low latency memory management
Depending on whether the system calls for accessing the network stack will become the bottleneck, you may also need to use io_uring with kernel side polling for this (briefly explained in this paper on page 15) in addition to pre-allocating your own buffers and avoiding copying memory where you can. You mention you are using tokio, it has a library for io_uring and there is also this vanilla io_uring library crate, but it's a bit more low level. Both are for linux only and I'm not familiar enough with Windows to say if there exists something similar in Rust for Windows systems (which has I/O Rings), maybe someone else can comment on that?
-
Window managers heavily lagging while Desktop environment doesn't
Hmm, nothing really jumps out for me in the pastes you have here, apart from this. What kernel are you running? Have you tried LTS?
rust-blog
- Common Rust Lifetime Misconceptions
-
What are some good resources for experienced programmers new to Rust to learn about lifetimes?
Hands down the best resource (after you've had sufficient experience with Rust, especially so) - https://github.com/pretzelhammer/rust-blog/blob/master/posts/common-rust-lifetime-misconceptions.md
-
How can a parameter type `T` be not long living enough?
I really really recommend reading this to understand lifetimes and generics in Rust better.
- What learning resource has had the greatest impact in elevating your understanding and knowledge of Rust?
- I do not understand why Sized bound prevents a trait from being used as a trait object.
-
Lifetime annotations: why doesn't Rust?
It's already now that the elided lifetimes are not always correct, as pointed out in Common Rust Lifetime Misconceptions (No 5) by pretzelhammer.
-
Anything C can do Rust can do Better
Common Rust Lifetime Misconceptions - kirill
-
Resources on Lifetimes
Probably a bit more advanced than what you asked about, but still possibly useful: Common Rust Lifetime Misconceptions by /u/pretzelhammer.
-
Borrow checker puzzles
This helped me a lot understanding Rust ownership rules and lifetimes: https://github.com/pretzelhammer/rust-blog/blob/master/posts/common-rust-lifetime-misconceptions.md
What are some alternatives?
io_uring-echo-server - io_uring echo server
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.
fluke - HTTP 1+2 in Rust, with io_uring & ktls
fluvio - Lean and mean distributed stream processing system written in rust and web assembly.
remote-pty - Tricking shells into interactive mode when local PTY's are not available
static-analysis - ⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
mini-redis - Incomplete Redis client and server implementation using Tokio - for learning purposes only
polonius - Defines the Rust borrow checker.
ggegui - A simple implementation of egui for ggez
bacup - An easy-to-use backup tool designed for servers.
book - The Rust Programming Language