crepe
mentat
crepe | mentat | |
---|---|---|
4 | 9 | |
443 | 1,610 | |
- | - | |
0.0 | 10.0 | |
about 2 months ago | over 5 years ago | |
Rust | Rust | |
Apache License 2.0 | 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.
crepe
- Datalog in 100 lines of JavaScript (2022)
-
GDlog: A GPU-Accelerated Deductive Engine
https://github.com/topics/datalog?l=rust ... Cozo, Crepe
Crepe: https://github.com/ekzhang/crepe :
> Crepe is a library that allows you to write declarative logic programs in Rust, with a Datalog-like syntax. It provides a procedural macro that generates efficient, safe code and interoperates seamlessly with Rust programs.
Looks like there's not yet a Python grammar for the treeedb tree-sitter: https://github.com/langston-barrett/treeedb :
> Generate Soufflé Datalog types, relations, and facts that represent ASTs from a variety of programming languages.
Looks like roxi supports n3, which adds `=>` "implies" to the Turtle lightweight RDF representation: https://github.com/pbonte/roxi
FWIW rdflib/owl-rl: https://owl-rl.readthedocs.io/en/latest/owlrl.html :
> simple forward chaining rules are used to extend (recursively) the incoming graph with all triples that the rule sets permit (ie, the “deductive closure” of the graph is computed).
ForwardChainingStore and BackwardChainingStore implementations w/ rdflib in Python: https://github.com/RDFLib/FuXi/issues/15
Fast CUDA hashmaps
Gdlog is built on CuCollections.
GPU HashMap libs to benchmark: Warpcore, CuCollections,
https://github.com/NVIDIA/cuCollections
https://github.com/NVIDIA/cccl
https://github.com/sleeepyjack/warpcore
/? Rocm HashMap
DeMoriarty/DOKsparse:
-
Ergonomic inline SQL as a Python library
Inspired by past work: LINQ, inline-python, crepe, DataScript, Riffle.
- Call for Help - Open Source Datom/EAV/Fact database in Rust.
mentat
-
Why did Mozilla abandon the Mentat database?
Why did Mozilla abandon the Mentat database?
-
Asami: A flexible graph store in Clojure
There is (now unmaintained) project called Mentat [0] from Mozilla.
[0] https://github.com/mozilla/mentat
-
Ideas for DataScript 2
Mozilla was working on the opposite, a Datalog of SQLite, with Mentat, now abandoned: https://github.com/mozilla/mentat
Strikes me as a basically sound idea and it would be lovely if someone picked up the ball.
-
SQLite Internals: Pages and B-trees
mentat was archived by mozilla back in 2017, but there are a bunch of forks. Because github is dumb and has a terrible interface for exploring forks [0], I used the Active GitHub Forks tool [1] that helped to find:
qpdb/mentat [2] seems to be the largest (+131 commits) and most recently modified (May this year) fork of mozilla/mentat.
[0]: https://github.com/mozilla/mentat/network/members - Seriously, how am I supposed to use this? Hundreds of entries, but no counts for stars, contributors, or commits, no details about recent commits. Just click every one?
[1]: https://techgaun.github.io/active-forks/index.html
[2]: https://github.com/qpdb/mentat
-
Call for Help - Open Source Datom/EAV/Fact database in Rust.
There are plenty of open source Datomic Inspired databases. Check out https://github.com/juji-io/datalevin and scroll down all the way down to “Alternatives”. There was even the beginning of a rust one by Mozilla: https://github.com/mozilla/mentat
-
Emacs team considering including SQLite
I think you might be slightly misreading things, from what you quoted it’s about the query language (sql vs Datalog) not the database engine, that would likely be SQLite in any case. Now whether grafting a Datalog query engine onto SQLite is a good idea is a different question (though it’s been done, eg https://github.com/mozilla/mentat), but we should all at least talk about the same thing :)
-
I Made the Exact Same App with Firebase,AWS Amplify,RxDB,PouchDB,WatermelonDB
You might be interested in the now defunct Mentat project from Mozilla. They made an EAV store with syncing on top of sqlite. It ran datalog queries by translating them into sql.
https://github.com/mozilla/mentat
What are some alternatives?
datalevin - A simple, fast and versatile Datalog database
percival - 📝 Web-based, reactive Datalog notebooks for data analysis and visualization
SQLite - Official Git mirror of the SQLite source tree
souffle - Soufflé is a variant of Datalog for tool designers crafting analyses in Horn clauses. Soufflé synthesizes a native parallel C++ program from a logic specification.
active-forks - Find active github forks of a repo https://git.io/vSnrC
Event Store - EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
cozo - A transactional, relational-graph-vector database that uses Datalog for query. The hippocampus for AI!
indradb - A graph database written in rust
client-side-databases - An implementation of the exact same app in Firestore, AWS Datastore, PouchDB, RxDB and WatermelonDB
ukanren-rs - Rust implementation of µKanren, a featherweight relational programming language.
lovefield - Lovefield is a relational database for web apps. Written in JavaScript, works cross-browser. Provides SQL-like APIs that are fast, safe, and easy to use.