elle
clojure-graph-resources
elle | clojure-graph-resources | |
---|---|---|
5 | 6 | |
614 | 252 | |
1.6% | - | |
8.5 | 1.8 | |
3 months ago | almost 2 years ago | |
Isabelle | ||
Eclipse Public 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.
elle
-
Why Is Jepsen Written in Clojure?
Speaking very loosely, primitives on the JVM are values which are represented directly in memory, instead of as pointers to objects on the heap. Clojure generally treats everything as a pointer to a heap object. There is no specialized equivalent for, say, a vector of shorts, or a map where values are floats. The compiler can emit specialized function signatures for... IIRC longs and doubles, but other types (e.g. byte, float) aren't directly accessible--they go through widening conversion. It's also easy for the compiler to quietly fail to recognize it can preserve primitives in some kinds of loops, so you wind up with what Java calls "autoboxing": wrapping a primitive in a corresponding Object type.
Here's a recent example of some code in a hot path inside Elle, one of Jepsen's safety checkers. It does a lot in primitive, packed structs and bitmasks to avoid pointer chasing.
https://github.com/jepsen-io/elle/blob/main/src/elle/BFSPath...
There was actually a Clojure version of this earlier that got pretty close perf-wise, but I wound up dropping to Java for it instead:
https://github.com/jepsen-io/elle/blob/913cbff5ebb19ba850c0a...
- Black-box transactional safety checker based on cycle detection
- Elle, the New Tool from Aphyr
clojure-graph-resources
- Why Is Jepsen Written in Clojure?
-
Fluree DB - A datomic like database that I just discovered
You may be interested in this list: https://github.com/simongray/clojure-graph-resources
-
Does anyone have experience with ALM/PLM tools (Application/Product Lifecycle Management)?
Clojure actually has excellent RDF support. Several features of Clojure and Datomic were inspired by directly by RDF and the semantic web tech is also fairly well-represented. I have compiled a list of all the relevant libraries (pull requests welcome).
-
An Introduction to Knowledge Graphs
... there's a whole bunch of Datomic-likes these days:
https://github.com/simongray/clojure-graph-resources#datalog
-
What are some great Clojure libraries, as of 2021?
There is a whole ecosystem around Datomic and Datomic-like databases that represent linked data in an RDF-like fashion using simple tuples.
-
Why Learn Prolog in 2021?
Probably worth mentioning for those interested in Datalog that there's actually a growing selection of databases for Clojure that use Datalog as their query language. I have documented them here: https://github.com/simongray/clojure-graph-resources#datalog
The Clojure variants of Datalog (they model triples as Clojure data structures) are basically becoming as ubiquitous in Clojure as SQL is elsewhere.
What are some alternatives?
dom-top - Unorthodox control flow, for Clojurists with masochistic sensibilities.
malli - High-performance data-driven data specification library for Clojure/Script.
specter - Clojure(Script)'s missing piece
awesome-semantic-web - A curated list of various semantic web and linked data resources.
awesome-prolog - Curated list of Prolog packages and resources
meander - Tools for transparent data transformation
crux - General purpose bitemporal database for SQL, Datalog & graph queries. Backed by @juxt [Moved to: https://github.com/xtdb/xtdb]
core.logic - A logic programming library for Clojure & ClojureScript
clojure-dsl-resources - A curated list of Clojure resources for dealing with domain-specific languages.
EasierRDF - Making RDF easy enough for most developers
schema - Clojure(Script) library for declarative data description and validation
pyswip - PySwip is a Python - SWI-Prolog bridge enabling to query SWI-Prolog in your Python programs. It features an (incomplete) SWI-Prolog foreign language interface, a utility class that makes it easy querying with Prolog and also a Pythonic interface.