crepe VS mentat

Compare crepe vs mentat and see what are their differences.

crepe

Datalog compiler embedded in Rust as a procedural macro (by ekzhang)

mentat

UNMAINTAINED A persistent, relational store inspired by Datomic and DataScript. (by mozilla)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
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
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of crepe. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-22.
  • Datalog in 100 lines of JavaScript (2022)
    5 projects | news.ycombinator.com | 22 Jan 2024
  • GDlog: A GPU-Accelerated Deductive Engine
    16 projects | news.ycombinator.com | 3 Dec 2023
    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
    3 projects | /r/ProgrammingLanguages | 8 Oct 2022
    Inspired by past work: LINQ, inline-python, crepe, DataScript, Riffle.
  • Call for Help - Open Source Datom/EAV/Fact database in Rust.
    8 projects | /r/rust | 1 Apr 2022

mentat

Posts with mentions or reviews of mentat. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-16.
  • Why did Mozilla abandon the Mentat database?
    1 project | /r/rust | 28 Jun 2023
    Why did Mozilla abandon the Mentat database?
  • Asami: A flexible graph store in Clojure
    7 projects | news.ycombinator.com | 16 Nov 2022
    There is (now unmaintained) project called Mentat [0] from Mozilla.

    [0] https://github.com/mozilla/mentat

  • Ideas for DataScript 2
    6 projects | news.ycombinator.com | 14 Aug 2022
    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
    11 projects | news.ycombinator.com | 27 Jul 2022
    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.
    8 projects | /r/rust | 1 Apr 2022
    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
    7 projects | /r/emacs | 22 Dec 2021
    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
    4 projects | news.ycombinator.com | 25 Oct 2021
    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?

When comparing crepe and mentat you can also consider the following projects:

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.