rules_closure
dashmap
Our great sponsors
rules_closure | dashmap | |
---|---|---|
5 | 12 | |
150 | 2,717 | |
0.7% | - | |
7.2 | 5.5 | |
11 days ago | 27 days ago | |
Java | Rust | |
Apache License 2.0 | MIT License |
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.
rules_closure
- Google Closure
-
Rust vs Go
That's why we have closure, Dart, PureScript, TypeScript and many other languages which try to make it safer.
-
Building an Application with ClojureScript
After ClojureScript compiles to JavaScript, the compiled code has a smaller size than hand-written JavaScript. This is because it makes use of the Google Closure compiler for minification and optimization.
-
Using Java for the front-end of a web app in 2022
That’s Google Closure [1] with an ‘s’, not ClojureScript [2] with a ‘j’.
ClojureScript uses the Closure Compiler to optimise its JS output, but that’s the only relationship, and the name is a coincidence.
[1] https://developers.google.com/closure
-
Rust Is Portable
Hi I created Actually Portable Executable. I also created Bazel's Closure Compiler tooling. https://github.com/bazelbuild/rules_closure
dashmap
- StupidAlloc: what if memory allocation was bad actually
-
dashmap VS scalable-concurrent-containers - a user suggested alternative
2 projects | 13 Apr 2023
-
Samsara, a safe Rust concurrent cycle collector
The problem is, every single one of these half-dozen crates has at least one known major issue (including UAF), exactly like C++ implementations (which isn't surprising since it's the kind of things where the ownership isn't clear and then the borrow checker can't help us).
-
Rust vs Go
Deadlocks and leaks are easy as other languages.
-
Shared mutable state is bad... so how do I create a global cache in a multi-threaded app?
Have you considered https://github.com/xacrimon/dashmap ?
-
Announcing Leapfrog, a faster concurrent HashMap
Dashmap made some api changes compared to the stdlibs hashmap, which leads to some oddities, as highlighted here: https://github.com/xacrimon/dashmap/issues/175
-
Writing a concurrent LRU cache
Some additional notes are in this slide deck and the implementation javadoc. You'd probably want to use something like DashMap for the hash table.
-
HashMap-based cache for async programs
You can look at existing concurrent maps like Dashmap https://github.com/xacrimon/dashmap or Cashmap https://gitlab.redox-os.org/redox-os/chashmap
-
How does one avoid lock of locks? or use the technique of latch crabbing of databases
Also dashmap
-
Noteworthy concurrent data structures?
The only one I've used is Dashmap, it's a concurrent interior-mutability hashmap. Very convenient crate in the case you need that.
What are some alternatives?
sixel-tmux - sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics
hashbrown - Rust port of Google's SwissTable hash map
rust-for-rustaceans.com - Source for https://rust-for-rustaceans.com/
moka - A high performance concurrent caching library for Rust
code_templates - Collection of templates (mostly bazelized) for fast and easy start of projects.
HashMap - An open addressing linear probing hash table, tuned for delete heavy workloads
bazel-buildfarm - Bazel remote caching and execution service
crossbeam - Tools for concurrent programming in Rust
dazel - Run Google's bazel inside a docker container via a seamless proxy.
leapfrog - Lock-free concurrent and single-threaded hash map implementations using Leapfrog probing. Currently the highest performance concurrent HashMap in Rust for certain use cases.
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
megahash - A super-fast C++ hash table with Node.js wrapper, tested up to 1 billion keys.