Rustlings
redis-rs
Rustlings | redis-rs | |
---|---|---|
289 | 14 | |
49,342 | 3,429 | |
2.0% | 2.0% | |
9.5 | 9.3 | |
6 days ago | 4 days ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
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.
Rustlings
-
GPUI 2 is now in production – Zed
Zed is great, have been using it to do the Rustlings exercises and learn Rust:
https://github.com/rust-lang/rustlings
If you've been looking for an excuse to learn Rust, check it out.
- I'm looking for practical Rust exercises
-
Avoid nested matches
Doing the rustlings conversions/from_into task which asks
-
Rustlings is the greatest thing ever
However, I stumbled across Tauri (as a replacement for Electron), and installed Rust just to get Tauri to work. A few days later, I installed Rustlings (https://github.com/rust-lang/rustlings) on a whim, and did the first exercise.
- CodeCrafters CEO adds his paid service as a next step after finishing Rustlings
-
Learning Zig
Rust also has something similar which is where I believe Zig drew inspiration from as well: https://github.com/rust-lang/rustlings
-
Bevy XPBD: A physics engine for the Bevy game engine
Rustlings gives a great introduction to the language:
https://github.com/rust-lang/rustlings
Disclaimer: I write JavaScript
- Learning Rust Recommendations?
-
Hi I’m a total newbie to programming but wants to learn rust as a first language.
Consider solving puzzles and exercises from rustlings and / or try the Rust track at exercism which I found very valuable.
-
Reached a new benchmark today, completed 1000 problems
Rustlings(for learning by doing): https://github.com/rust-lang/rustlings
redis-rs
-
Meet Fred: The most awesome Redis client for Rust.
The goto Redis client for Rust is called redis-rs. It has over 3k stars on Github. but I found it very annoying to use because I quickly found out that if you want to set any value you had to get a mutable reference to the underlying client. Which meant great pain to store Redis client in the global scope. People who do not know what a mutable reference is consider the let keyword in JavaScript. you can mutate or change a variable that is initiated with let.
-
[I made this] – staticPi – websocket forwarder
staticpi, is a websocket forwarding service. Basically, it enables one to keep a Raspberry pi, or any computer, “connected”, in order to send and receive messages to and from any client, without having to deal with a static IP address, open ports on your router, or similar. Built in Rust, using axum, which in turn uses tungestine-rs for the websocket connections, tokio, sqlx, redis-rs and others.
-
A Rust client library for interacting with Microsoft Airsim https://github.com/Sollimann/airsim-client
redis (use streams and pubsub)
-
Redust: a new Redis client
Are you addressing the long-standing issue that the redis client has related to dropped connections?
-
Chumsky, a parser combinator crate that makes writing error-tolerant parsers with recovery easy and fun!
I switched to LALRPOP for gluon but I still use combine in https://github.com/mitsuhiko/redis-rs and some other projects which need to parse "protocols" (less need for good error messages/error recovery and more need for speed).
-
Getting started with MongoDB and Redis in Rust
The project is implemented with MongoDB Rust driver and redis-rs crate.
-
Redis Streams in Action - Part 2 (Rust app to consume from the Twitter Streaming API)
redis-rs, a Rust library for Redis with both high and low-level APIs
-
What are some examples of particularly well written crates?
I think the redis crate was a well-organized API library. It's still sometimes hard to know the right things to make public and I think they nailed it.
- Trying to utilize sqlx with postgresql and expecting performance on par with jdbc 😀. How do you guys do prepared statement, arg/param setting, batch insertions etc? The documentation doesn’t take me anywhere near that.
-
https://np.reddit.com/r/rust/comments/m1m742/klaxitredisstreamrs_consuming_highthroughput/grxjrki/
We have been using it before it got merged in redis-rs (we upvoted the PR here https://github.com/mitsuhiko/redis-rs/pull/319 a while back ;-))
What are some alternatives?
rust-koans - Koans for the Rust programming language
tikv - Distributed transactional key-value database, originally created to complement TiDB
rust-by-example - Learn Rust with examples (Live code editor included)
r2d2 - A generic connection pool for Rust
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
PickleDB - PickleDB-rs is a lightweight and simple key-value store. It is a Rust version for Python's PickleDB
book - The Rust Programming Language
sled - the champagne of beta embedded databases
rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust
MeiliSearch - A lightning-fast search API that fits effortlessly into your apps, websites, and workflow
rust-by-practice - Learning Rust By Practice, narrowing the gap between beginner and skilled-dev through challenging examples, exercises and projects.
rust-embed - Rust Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.