grid
rpds
Our great sponsors
grid | rpds | |
---|---|---|
5 | 3 | |
81 | 1,125 | |
- | - | |
7.0 | 7.6 | |
2 months ago | 3 months ago | |
Rust | Rust | |
MIT License | Mozilla Public 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.
grid
-
Grid v0.12.0
Released new version of grid. An easy to use 2D data structure for rust.
- Released grid v0.10.0
- Grid 0.8.0 released. Improved performance and fixed some minor issues
- Released grid v0.7.0 - Thx for all the pull-requests :-)
- Released grid v0.5.0 - a two dimensional data structure library for rust
rpds
-
Getting both a mutable and immutable reference to a shared structure?
Another option I can think of - but not completely sure how one would implement in Rust - would be to never mutate the shared state, but rather when updating it - completely swapping it out with a completely new copy of the desired state. There's lots of different ways to go about doing this - each with their own trade offs. But using some form of Persistent Data Structure would probably be a good way to start. If you only have a single writer - then I believe using a Cell and simply updating which version of the structure is being read could work. rpds seems to be a decent start to look at these sorts of structures in Rust.
-
Learning Clojure made me return back to C/C++
Thanks for taking the time to provide a detailed response. Need to think on this. I had actually started a regular Clojure parser using LLVM as a hobby, but then my friend said it was better to implement this in a safe-memory and. save-concurrency language like Rust and leverage cranelift for code generation. So, now I am learning rust, lol. (Btw, Rust has a persistent data structures lib too: https://github.com/orium/rpds )
-
Persisting data that has revisions for values
Take a look at https://github.com/orium/rpds or one of the many others.
What are some alternatives?
static_aabb2d_index - Fast static 2D axis aligned bounding box index
hypergraph - Hypergraph is data structure library to create a directed hypergraph in which a hyperedge can join any number of vertices.
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
Fyrox - 3D and 2D game engine written in Rust
rust-rocksdb - rust wrapper for rocksdb
grid_pathfinding - Pathfinding on grids using jumping point search and connected components.
cranelift - Cranelift code generator
staticvec - Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
pest - The Elegant Parser
bimap-rs - Generic bijective maps in Rust
vectops - Basic operations with Clojure vectors.