mangle VS dex-lang

Compare mangle vs dex-lang and see what are their differences.

dex-lang

Research language for array processing in the Haskell/ML family (by google-research)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
mangle dex-lang
9 25
1,032 1,533
0.6% 0.0%
6.9 8.8
8 days ago 11 days ago
Go Haskell
Apache License 2.0 BSD 3-clause "New" or "Revised" License
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.

mangle

Posts with mentions or reviews of mangle. 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
    Mangle https://github.com/google/mangle is an open-source implementation in golang, it was an explicit goal to make it easy to learn. Meaning: it is easy to recognize the pure datalog part, the syntax is following the good old course material.

    It was discussed here: https://news.ycombinator.com/item?id=33756800

    8 projects | news.ycombinator.com | 21 Jan 2024
    One of the most interesting Datalog systems I have seen is Mangle:

    https://github.com/google/mangle

    It was previously discussed here:

    https://news.ycombinator.com/item?id=33756800

    The system is quite unique among those systems that call themselves Datalog because it is one of the few that actually supports Datalog syntax, as a proper subset of all features it supports. This means that you can truly write and run Datalog programs which can be read and interpreted also with every Prolog system.

  • Prolog for Data Science
    4 projects | news.ycombinator.com | 7 May 2023
    Logic programming offers a good foundation for anything that people call "rule engines." Within logic programming, there is some variation on the degree of declarativeness.

    Datalog is arguably the minimal core logic programming, similar to what the lambda calculus achieves for functional programming. Unfortunately, it has been forgotten outside of database and query processing realm. A resurgence has happened in recent years, as PL researchers and also industry have discovered the virtues of datalog (e.g. Flix, DataFun). My own attempt at making this more widely known is here https://github.com/google/mangle, a language from the datalog family and its implementation as a go library.

    As the example shows: plain "rules" (or: plain datalog) is rarely enough to capture everything that one wants to express: the question then is, how to combine a pure declarative "kernel" with more general purpose programming (e.g. mapping a list).

    PROLOG offered one answer, already in the 1980s, but I fully reject it: the fact that the writing a program in the wrong order with negation and recursion makes it non-terminating is not something we'd want everyone to deal with. Datalog with stratified recursion is somewhat better, as "layers of rules" is a concept that is easy to understand.

    In mainstream programming languages, the possibility of writing non-terminating programs also exists, but is rarely an issue. That is why I believe a good combination of declarative and general-purpose has to make it really easy to recognize which parts of a program are in the declarative, terminating, safe kernel and which parts require more attention from the programmer.

  • Mangle, a programming language for deductive database programming
    12 projects | news.ycombinator.com | 26 Nov 2022

dex-lang

Posts with mentions or reviews of dex-lang. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-13.

What are some alternatives?

When comparing mangle and dex-lang you can also consider the following projects:

jax - Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more

futhark - :boom::computer::boom: A data-parallel functional programming language

julia - The Julia Programming Language

Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration

hasktorch - Tensors and neural networks in Haskell

CIPs

tutorials - PyTorch tutorials.

Enzyme.jl - Julia bindings for the Enzyme automatic differentiator

Co-dfns - High-performance, Reliable, and Parallel APL

FlexFlow - FlexFlow Serve: Low-Latency, High-Performance LLM Serving

tensor_annotations - Annotating tensor shapes using Python types

equinox - Elegant easy-to-use neural networks + scientific computing in JAX. https://docs.kidger.site/equinox/