SaaSHub helps you find the best software and product alternatives Learn more →
Top 6 Rust logic-programming Projects
-
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.
Link to GitHub -->
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.
Rust logic-programming related posts
- Datalog in 100 lines of JavaScript (2022)
- Learn Datalog Today
- The Power of Prolog
- Oso - batteries-included framework for building authorization in your application.
- Is Datalog a good language for authorization?
- How do You work with structured data?
- Introduction to Modern Prolog
-
A note from our sponsor - SaaSHub
www.saashub.com | 19 Apr 2024
Index
What are some of the best open-source logic-programming projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | oso | 3,387 |
2 | percival | 571 |
3 | crepe | 442 |
4 | ascent | 367 |
5 | ukanren-rs | 106 |
6 | conlog | 3 |