Linq-in-Rust
pariter
Linq-in-Rust | pariter | |
---|---|---|
1 | 4 | |
125 | 100 | |
- | - | |
2.5 | 0.0 | |
6 months ago | 9 months ago | |
Rust | Rust | |
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.
Linq-in-Rust
-
Table Oriented Programming (2002)
Rust has rather sophisticated macros, which let you do stuff like this outside the core language implementation, which is IMO very much where such things belong.
E.g. a linq clone in rust can look like this: https://github.com/StardustDL/Linq-in-Rust
linq!(from p in 1..100, where p <= &5, orderby -p, select p * 2).collect();
pariter
-
Polars Dataframes vs Vectors of structs
Once you have something working, and you want to make it fast, run cargo install flamegraph, and then cargo flamegraph, to see where your code is spending its time. Once you've fixed any hot spots that you weren't expecting, you can try using rayon or https://github.com/dpc/pariter to start making use of more CPU cores.
-
[Media] Releasing my first rust project - Log Analyzer Pro, a blazingly fast, feature-rich TUI log analyzer
Parallel iterators: rayon or what I ended up using because I wanted to keep the original order is this amazing library: https://github.com/dpc/pariter
-
what are the resources for writing multi threaded programs in rust
There is also https://github.com/dpc/pariter which is similar to rayon but preserves order of tasks.
-
A puzzle: Any nice way to multithread work in order?
All right, I've got it working. https://github.com/dpc/pariter/tree/non-static-f
What are some alternatives?
empirical-lang - A language for time-series analysis
rayon - Rayon: A data parallelism library for Rust
number_range - Parse human readable numbers list into an iterable and vice versa
bed-reader - A library for easy, fast, and efficient reading & writing of PLINK Bed files
log-analyzer-pro
GoAccess - GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
crossbeam - Tools for concurrent programming in Rust
lnav - Log file navigator
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.