percival VS cozo

Compare percival vs cozo and see what are their differences.

percival

đź“ť Web-based, reactive Datalog notebooks for data analysis and visualization (by ekzhang)
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
percival cozo
12 30
571 3,110
- 2.4%
0.0 8.0
about 1 year ago 7 days ago
Rust Rust
MIT License Mozilla Public 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.

percival

Posts with mentions or reviews of percival. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-21.
  • Learn Datalog Today
    8 projects | news.ycombinator.com | 21 Jan 2024
    Souffle and Cozo mentioned below already implement the whole of "traditional" datalog.

    Percival (https://github.com/ekzhang/percival) has some very nice examples showing how you can interactively write and test rules on top of a datalog interpreter.

    Bud (http://bloom-lang.net/bud/) is Hellerstein's proof of concept playground. It has bit-rotted in the past few years, but the examples are readable even if you can't easily get it working.

    The complexity can be quite good. You can syntactically determine when you've written linear recursion (equivalent to a for loop) vs not. Otherwise, the complexity is what you'd expect from incremental view maintenance in a normal SQL database. Which is to say O(n^k) with k being the number of relations joined, but usually much, much less with appropriate indexes and skew in the data. All the usual tricks concerning data normalization and indexes from databases apply.

  • SoufflĂ©: A Datalog Synthesis Tool for Static Analysis
    5 projects | news.ycombinator.com | 30 Nov 2022
    I've worked on percival a bit, it compiles (transpiles?) the datalog ast into javascript code on demand and executes it to get the results, see [1]. Percival's creator, Eric, also submitted a 10m presentation about the project [2] to the HYTRADBOI 'virtual conference' earlier this year [2]. They also submitted a Show HN that received a couple comments [3]. The Have You Tried Rubbing A Database On It conference included several awesome presentations featuring datalog, which readers may find interesting [4].

    [1]: https://github.com/ekzhang/percival/blob/main/crates/perciva...

    [2]: https://www.hytradboi.com/2022/percival-a-reactive-language-...

    [3]: https://news.ycombinator.com/item?id=29521975

    [4]: https://www.hytradboi.com/

  • Chumsky, a Rust parser-combinator library with error recovery
    8 projects | news.ycombinator.com | 8 Jul 2022
    I haven't written a parser with Chumsky, bit I've played with a little one a bit if you wanna see an example syntax. The error reporting for this project is implemented with `ariadne` which is also really slick.

    Parser: https://github.com/ekzhang/percival/blob/main/crates/perciva...

    Error reporting: https://github.com/ekzhang/percival/blob/main/crates/perciva...

    Datalog playground: https://percival.ink/

    To see an error report, delete some punctuation from one of the Datalog code blocks then press shift-return.

  • Show HN: Percival – Web-based reactive Datalog notebooks, made with Rust+Svelte
    1 project | news.ycombinator.com | 11 Dec 2021
  • Percival: Web-based, reactive Datalog notebooks for data analysis and visualization, written in Rust and Svelte
    1 project | /r/webdev | 11 Dec 2021
    1 project | /r/functionalprogramming | 11 Dec 2021
    1 project | /r/visualization | 11 Dec 2021
    1 project | /r/programming | 11 Dec 2021
    2 projects | /r/ProgrammingLanguages | 11 Dec 2021
    1 project | /r/sveltejs | 11 Dec 2021

cozo

Posts with mentions or reviews of cozo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-02.
  • I'm writing a new vector search SQLite Extension
    13 projects | news.ycombinator.com | 2 May 2024
    Any thoughts on how your project will compare to CozoDB?

    https://github.com/cozodb/cozo

  • Transactional, relational-graph-vector database that uses Datalog for query
    1 project | news.ycombinator.com | 31 Mar 2024
  • Learn Datalog Today
    8 projects | news.ycombinator.com | 21 Jan 2024
  • Documentation for Rust interface
    1 project | /r/cozodb | 8 Dec 2023
    I can figure parts of it out from https://github.com/cozodb/cozo/blob/main/cozo-core/tests/air_routes.rs which is enough to get started
  • The Ten Rules of Schema Growth
    2 projects | news.ycombinator.com | 31 Oct 2023
    I've been keeping an eye on https://github.com/cozodb/cozo which is pretty close to something I've wanted, a sqlite version of datalog/datomic.
  • Fast Analytics and Graph Traversals with Datalog
    1 project | news.ycombinator.com | 5 Sep 2023
  • These new vector databases are only slightly better than outright scams
    1 project | /r/Database | 24 Jun 2023
    Finally, the one product I was extremely impressed with and felt was genuinely impressive as a database in general was cozodb.
  • An embedded NoSQL database on rust.
    1 project | /r/rust | 17 May 2023
    Take a look at cozodb. It meets most of your goals and I've been really enjoying using it. It might give you some inspiration or something to contribute to.
  • Hyper – A fast and correct HTTP implementation for Rust
    14 projects | news.ycombinator.com | 12 May 2023
    Sure. They're called 'partials' sometimes. Useful if you want to rerender just part of a page. This is a pattern used by HTMX, a 'js framework' that accepts fragments of html in an http response and injects it into the page. This is good because it avoids the flash and state loss of a whole page reload. See the HTMX essay on template fragments for a more complete argument [0].

    This is a go template for an interactive todos app [1] that I'm experimenting with. The html content of the entire page is present in one template definition which is split into 6 inline {{block}} definitions / "fragments". The page supports 5 interactions indicated by {{define}} definitions, each of which reuse various block fragments relevant to that interaction. I'm in the process of converting it to use embedded cozodb [2] queries which act as a server side data store. The idea here is that the entire 'app', including all html fragments, styles, http requests and responses, db schema, and queries are embedded into this single 100-line file.

    [0]: https://htmx.org/essays/template-fragments/

    [1]: https://github.com/infogulch/go-htmx/blob/master/templates/t...

    [2]: https://github.com/cozodb/cozo

  • What Is a Vector Database
    22 projects | news.ycombinator.com | 5 May 2023
    If anyone wants to try a FOSS vector-relational-graph hybrid database for more complicated workloads than simple vector search, here it is: https://github.com/cozodb/cozo/

    About the integrated vector search: https://docs.cozodb.org/en/latest/releases/v0.6.html

    It also does duplicate detection (Minhash-LSH) and full-text search within the query language itself: https://docs.cozodb.org/en/latest/releases/v0.7.html

    HN discussion a few days ago: https://news.ycombinator.com/item?id=35641164

    Disclaimer: I wrote it.

What are some alternatives?

When comparing percival and cozo you can also consider the following projects:

codeql - CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security

slashbase - In-browser database IDE for dev/data workflows. Supports PostgreSQL & MongoDB.

crepe - Datalog compiler embedded in Rust as a procedural macro

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.

modus - A language for building Docker/OCI container images

abcl - Armed Bear Common Lisp <git+https://github.com/armedbear/abcl/> <--> <svn+https://abcl.org/svn> Bridge

cclyzerpp - cclyzer++ is a precise and scalable pointer analysis for LLVM code.

TCLisp - Truffle Common Lisp

asami - A flexible graph store, written in Clojure

async-observable - Async & reactive synchronization model to keep multiple async tasks / threads partially synchronized.

QuestDB - An open source time-series database for fast ingest and SQL queries