crux VS malli

Compare crux vs malli and see what are their differences.

crux

General purpose bitemporal database for SQL, Datalog & graph queries. Backed by @juxt [Moved to: https://github.com/xtdb/xtdb] (by juxt)
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
crux malli
16 33
1,475 1,416
- 0.6%
9.7 9.3
over 2 years ago 8 days ago
Clojure Clojure
MIT License Eclipse 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.

crux

Posts with mentions or reviews of crux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-17.
  • Speeding Up `Atan2f` by 50x
    7 projects | news.ycombinator.com | 17 Aug 2021
  • Bridging the Blockchain / Database Divide (Temporal Graph Queries for Corda)
    1 project | /r/corda | 2 Aug 2021
    Hi, a couple of my colleagues spent some time working on this integration with our open source database product (https://opencrux.com), and I'm curious to know - has anyone done similar things to connect Corda with a secondary off-the-shelf query engine?
  • Crux 1.18.0 Is Out
    1 project | news.ycombinator.com | 30 Jul 2021
  • Crux 1.18.0 is out!
    1 project | /r/Clojure | 30 Jul 2021
    For more details, see the release notes.
  • Looking for Intermediate & Advanced SQL Users for Research
    1 project | /r/SQL | 15 Jun 2021
    The context is that I work on on https://opencrux.com, which offers a bi-temporal Datalog query layer (as well as SQL) that more or less addresses the intersection of the two, since Datalog is great for expressing recursive queries.
  • How to query Datomic, Datascript, Asami, or other graph databases
    4 projects | /r/Clojure | 4 Jun 2021
    I suppose another somewhat important distinction, once again performance related, is that graph databases will typically track index statistics to aid with query planning. For example, Crux uses stored knowledge of attribute-value cardinalities (recently via HyperLogLog) to optimise the join order of a query - this can make a big difference when attempting to traverse large graphs efficiently.
  • Free project to practice sql ?
    1 project | /r/SQL | 16 May 2021
    Agreed, recursive querying & bitemporal modelling in SQL are non-trivial problems, and the combination of the two is harder still. For an alternative perspective on tackling such problems I'd suggest looking at Datalog, which makes recursion a breeze, and a database with first-class bitemporality - both of which feature in https://opencrux.com (which I happen to work on :))
  • Ask HN: What under-the-radar technology are you super excited about?
    14 projects | news.ycombinator.com | 12 Apr 2021
    I work on Crux so can share a few details about our implementation of Datalog. The query is compiled into a kind of Worst-Case Optimal Join algorithm [0] which means that certain types of queries (e.g. cyclic graph-analytical queries, like counting triangles) are generally more efficient than what is possible with a non-WCOJ query execution strategy. However, the potency of this approach relies on the query planner calculating a good ordering of variables for the join order, and this is a hard problem in itself.

    Crux is usually very competent at selecting a sensible variable ordering but when it makes a bad choice your query will take an unnecessary performance hit. The workaround for these situations is to break your query into smaller queries (since we don't wish to support any kind of hinting). Over the longer term we will be continuing to build more intelligent heuristics that make use of advanced population statistics. For instance we are about to merge a PR that uses HyperLogLog to inform attribute selectivity: https://github.com/juxt/crux/pull/1472

    [0] https://cs.stanford.edu/people/chrismre/papers/paper49.Ngo.p...

  • Bitemporal History
    6 projects | news.ycombinator.com | 8 Apr 2021
  • Git as a NoSql Database
    9 projects | news.ycombinator.com | 5 Apr 2021

malli

Posts with mentions or reviews of malli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-10.
  • A History of Clojure (2020) [pdf]
    22 projects | news.ycombinator.com | 10 Aug 2023
  • Critique of Lazy Sequences in Clojure
    5 projects | news.ycombinator.com | 7 Aug 2023
    Clojure's lazy sequences by default are wonderful ergonomically, but it provides many ways to use strict evaluation if you want to. They aren't really a hassle either. I've been doing Clojure for the last few years and have a few grievances, but overall it's the most coherent, well thought out language I've used and I can't recommend it enough.

    There is the issue of startup time with the JVM, but you can also do AOT compilation now so that really isn't a problem. Here are some other cool projects to look at if you're interested:

    Malli: https://github.com/metosin/malli

    Babashka: https://github.com/babashka/babashka

    Clerk: https://github.com/nextjournal/clerk

  • [ANN] Malli 0.11.0 is out - a data-driven data specification library for Clojure/Script
    4 projects | /r/Clojure | 12 Apr 2023
    BREAKING: walking a :schema passes children instead of [id] to the walker function #884
  • Generic functions, a newbie question
    2 projects | /r/Clojure | 8 Apr 2023
    When you get to larger, more complex validations, I'd recommend checking out Malli or Spec.
  • Any resources for "current best practices and learnings?"
    7 projects | /r/Clojure | 16 Feb 2023
    for specs, you can try malli - feels pretty well supported and full featured: https://github.com/metosin/malli (i'm not 100% sure how popular it is for others, but I use it on my personal projects)
  • Single-file scripts that download their dependencies
    8 projects | news.ycombinator.com | 15 Jan 2023
  • Clojure Turns 15 round table video
    2 projects | /r/Clojure | 4 Nov 2022
    Have you tried malli: Data-driven Schemas for Clojure/Script?
  • Clojure from a Schemer's perspective
    3 projects | /r/Clojure | 1 Nov 2022
    All that being said, I particularly use malli and I don't find anything to complain about. There is a very nice and sound ecosystem being built around it (malli-ts is one of my contributions to it, but still in early development stages). I highly recommend reading its README, very informative stuff.
  • Clojure 15th Anniversary: A Retrospective
    2 projects | news.ycombinator.com | 22 Oct 2022
    Any large codebase can be broken up into small isolated components that can be reasoned about independently. This is how you structure Clojure projects if you want them to be maintainable. Clojure inherently encourages doing this by defaulting to immutability. The contract between components is the data being passed to the component and returned by it. Using Malli schemas at the edges of the components is a typical approach to documenting their APIs https://github.com/metosin/malli

    I see the fact that people often end up creating large and tightly coupled monolithic codebases in static languages as a negative aspect of static typing. Such codebases are difficult to reason about even if you have guarantees that the types align. Ultimately, you need to understand the relationships in code, and how they relate to business logic. The more coupling an application has the harder it becomes to reason about it as a whole.

    Ideally, I think applications should be structured as a bunch of Lego blocks that can be composed together. Each component should encapsulate some functionality, and then the flow of the business logic should bubble up to the top and expressed in how these components are chained together.

  • Worrying comment from HN on Building a Startup on Clojure
    3 projects | /r/Clojure | 4 Oct 2022
    Uhhh spec has existed for a long time and before that, schema Nowadays we also have the excellent malli. If his codebase is full of functions where the shape of the data isn’t obvious, isn’t documented and isn’t specified in a specific/schema, that’s on him and his bad coding practices and really no different from passing data in other dynamic languages. A class by itself (without additional effort) only gives you field names.

What are some alternatives?

When comparing crux and malli you can also consider the following projects:

xtdb - An immutable database for application development and time-travel data compliance, with SQL and XTQL. Developed by @juxt

clojure - The Clojure programming language

asami - A graph store for Clojure and ClojureScript

schema - Clojure(Script) library for declarative data description and validation

specter - Clojure(Script)'s missing piece

babashka - Native, fast starting Clojure interpreter for scripting

materialize - The data warehouse for operational workloads.

reitit - A fast data-driven routing library for Clojure/Script

mergestat-lite - Query git repositories with SQL. Generate reports, perform status checks, analyze codebases. 🔍 📊

honeysql - Turn Clojure data structures into SQL

mnm - mnm implements TMTP protocol. Let Internet sites message members directly, instead of unreliable, insecure email. Contributors welcome! (Server)

fulcro - A library for development of single-page full-stack web applications in clj/cljs