rpds
calcit
rpds | calcit | |
---|---|---|
3 | 3 | |
1,130 | 99 | |
- | - | |
7.6 | 9.2 | |
3 months ago | 19 days ago | |
Rust | Rust | |
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.
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.
calcit
- Show HN: Programming Google Flutter with Clojure
- Calcit - a Lisp dialect but with indentations
-
I was getting tired of writing parens for simple math so I made a function for it. Is there a better way to write basic math without as many parentheses in Clojure?
Well, I got myself a script language https://github.com/calcit-lang/calcit_runner.rs/blob/main/calcit/snapshots/test-math.cirru#L11 .
What are some alternatives?
hypergraph - Hypergraph is data structure library to create a directed hypergraph in which a hyperedge can join any number of vertices.
Ketos - Lisp dialect scripting and extension language for Rust programs
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
infix - A Clojure library for expressing LISP expressions as infix rather than prefix notation
rust-rocksdb - rust wrapper for rocksdb
rust_lisp - A Rust-embeddable Lisp, with support for interop with native Rust functions
cranelift - Cranelift code generator
mxtodomvc - The TodoMVC Classic implemented with mxWeb and Matrix
pest - The Elegant Parser
indent-clj - A little experiment into how Clojure with inferred paren might look like
bimap-rs - Generic bijective maps in Rust
flutter-mx - Flutter + ClojureDart, with Matrix Inside(tm)