|about 2 months ago||3 days ago|
|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.
How to do graceful shutdown in rust for cli programs?
5 projects | reddit.com/r/rust | 3 Apr 2021
After few hours of search, I found signal-hook. The issue now is it will not kill process immediately, instead it will wait until the sleep function is done.5 projects | reddit.com/r/rust | 3 Apr 2021
If you're interested in the techniques people use here, you might take a look at signalfd - which gives you a way to read signals as-if through a file pipe (so you can use it with things like select/epoll loops) - or signal-hook's implementation of the signal-pipe pattern (which makes use of the fact that write is on the list of async-signal-safe system calls).
Rust vs Go
9 projects | reddit.com/r/rust | 19 Oct 2022
Deadlocks and leaks are easy as other languages.
Help with package licensing issues
2 projects | reddit.com/r/golang | 19 Oct 2022
Kanal: Channels 80x faster than the standard library!
7 projects | reddit.com/r/rust | 16 Oct 2022
Ouch, didn’t know about https://github.com/crossbeam-rs/crossbeam/issues/821, thanks for pointing that out, that’s a big update for me!
Hey Rustaceans! Got a question? Ask here! (21/2022)!
9 projects | reddit.com/r/rust | 24 May 2022
The last option I can think of is using two threads (like above) and epoch GC instead of a lock (i.e. using crossbeam-epoch). But I don't have enough experience with this to say anything about it.
what are the resources for writing multi threaded programs in rust
4 projects | reddit.com/r/rust | 19 May 2022
You should definitely look at the Rayon crate. After I figured that out, my productivity vs multi threaded C was exponentially better (literally did many days of equivalent C work in less than an hour). Rayon is focused on data processing, other multi threaded stuff can benefit from other crates like crossbeam (Channels, scoped threads), and tokio (async networking).
Audio Libraries Considered Challenging
4 projects | reddit.com/r/rust | 16 May 2022
Hacker News top posts: Apr 17, 2022
3 projects | reddit.com/r/hackerdigest | 17 Apr 2022
Crossbeam – Tools for concurrent programming in Rust\ (14 comments)
crossbeam - Tools for concurrent programming in Rust
2 projects | reddit.com/r/programming | 16 Apr 2022
Crossbeam – Tools for concurrent programming in Rust
2 projects | news.ycombinator.com | 15 Apr 2022
12 Rust Tips and Tricks you might not know yet
3 projects | dev.to | 19 Jan 2022
The crossbeam crate offers a powerful alternative to standard channels with support for the Select operation, timeouts, and more. Similar to what you get out of the box in Golang and traditional Unix sockets.
What are some alternatives?
rayon - Rayon: A data parallelism library for Rust
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
rust-threadpool - A very simple thread pool for parallel task execution
RxRust - The Reactive Extensions for the Rust Programming Language
coroutine-rs - Coroutine Library in Rust
Bus Writer - Single-reader, multi-writer & single-reader, multi-verifier; broadcasts reads to multiple writeable destinations in parallel
libfringe - a Rust library implementing safe, lightweight context switches, without relying on kernel services
flapigen-rs - Tool for connecting programs or libraries written in Rust with other languages
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
rust - Empowering everyone to build reliable and efficient software.
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL.
atomicbox - Safe atomic Box types for Rust