flurry
rust-blog
flurry | rust-blog | |
---|---|---|
4 | 63 | |
486 | 6,622 | |
- | - | |
7.2 | 5.0 | |
11 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.
flurry
-
As part of the stdlib mutex overhaul, std::sync::Mutex on Linux now has competitive performance with parking_lot
Recently I learned about the hyaline reclamation scheme that seize uses. Mentioning since it may interest you:flurry, a concurrent HashMap, recently switched from crossbeam-epoch (based on epoch GC) to seize.
-
Seize: Fast, efficient, and robust memory reclamation
Here's the PR that ported the concurrent hash table flurryfrom crossbeam-epoch to seize https://github.com/jonhoo/flurry/pull/102
-
Hey Rustaceans! Got an easy question? Ask here (12/2021)!
Can any data structure be concurrent? I'd like to practice concurrency but I'm lacking off of ideas. I'm very inspired by Jon Gjenset's concurrent hashmap. Any suggestion would be deeply appreciated!
-
Which are the best Rust repositories to read to learn the language?
If you're the type of person who enjoys watching programming videos, /u/Jonhoo has a handful of repos that are the result of live coding streams. Flurry is a port of Java's ConcurrentHashMap, inferno is a Rust port of flamegraph and tokio-zookeeper is a client for Apache Zookeeper. If you enjoy following along while someone creates a piece of software, I heartily recommend Jon's streams.
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?
mini-redis - Incomplete Redis client and server implementation using Tokio - for learning purposes only
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.
librseq - Library for Restartable Sequences
fluvio - Lean and mean distributed stream processing system written in rust and web assembly.
httparse - A push parser for the HTTP 1.x protocol in Rust.
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.
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
seize - Fast, efficient, and robust memory reclamation for Rust.
advent-of-code-2020 - :christmas_tree: My Advent of Code solutions in Rust. http://adventofcode.com/2020
polonius - Defines the Rust borrow checker.