egglog | flix | |
---|---|---|
4 | 11 | |
337 | 2,054 | |
3.3% | 0.9% | |
9.5 | 9.9 | |
5 days ago | 6 days ago | |
Rust | Scala | |
MIT License | GNU General Public License v3.0 or later |
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.
egglog
-
Towards a New SymPy
The herbie project using egraphs to explore different ways of rewriting floating point expressions. https://herbie.uwplse.org/ One can also write custom rulesets in egglog (a new egraph rewriting system / language / datalog) https://egraphs-good.github.io/egglog/?example=herbie
The approach is not yet anywhere near being able to touch all the domains sympy can handle. Destructive term rewriting tends to be a bit more forgiving to unsoundness in the rules and still returning roughly meaningful results. EGraph rewriting (and other automated reasoning systems) tend to just return junk as soon as you aren't careful about your semantics. Associativity and commutativity are ubiquitous in CAS applications and encoding these concepts in general purpose terms is rather unsatisfying. The post above emphasizes specialty methods for polynomials, which it would be desirable to find a clean way to integrate into egraph techniques. Variable binding (which is treated in a rather mangled form in CAS systems) is seemingly important for treating summation, differentiation, and integration correctly. The status of doing variable binding efficiently and correctly in egraphs is also unclear imo.
-
What is the state of the art for creating domain-specific languages (DSLs) with Rust?
For semantic analyzers, check out egg and egglog. They're custom data structures for representing compiler rewrite rules in a non-destructive way.
-
Ask HN: What is new in Algorithms / Data Structures these days?
The recent work on relational, datalog-inspired egraphs in PLDI this year ("Unifying Datalog and Equality Saturation") is actually interesting because it can solve cases like the y/x*x -> y identity example, by the power of an interval analysis on x (among other things.) Sort of like adding a postulate but instead it's by adding relations between terms in the graph.
https://github.com/egraphs-good/egglog
https://arxiv.org/pdf/2304.04332.pdf
-
Better Together: Unifying Datalog and Equality Saturation
Close, but the link is on Page 13, and it points here: https://github.com/mwillsey/egg-smol
Unfortunately the naming is all a bit confusing, isn't it....
flix
-
Learn Datalog Today
you can use Datalig within Flix https://flix.dev/
-
The Flix Programming Language
> recently added support for package management
Are there any [plans for] supply chain attack mitigations?
Naively searching, I find https://github.com/flix/flix/issues/4380#issuecomment-123641... (Proposed Principle: A package can be declared as "safe") and https://github.com/flix/flix/issues/2837 (Add capability-safety to polymorphic effects?) the latter closed with working on something related to this https://github.com/flix/flix/issues/3000 (The Road to Algebraic Effects).
- Java 21 makes me like Java again
-
Alternatives to scala FP
I don't know that it's one-to-one in terms of features, but I've been impressed with the Flix language, also on the jvm: https://flix.dev/ .
- Programming in Standard ML [pdf]
-
Ask HN: What is new in Algorithms / Data Structures these days?
You might be interested in Flix which has first-class Datalog program values:
https://flix.dev/
https://doc.flix.dev/fixpoints.html
(I am one of the developers of Flix)
-
What the imperative shell of an Functional Core/Imperative Shell language looks like
I like it. Modern languages that distinguish between pure and impure programs like Flix, Koka, and Effekt do so on the type level instead of syntactically. This has three advantages:
-
[Q] Alternative languages; which one do you use?
I work almost 100% in Scala because it has the most advanced functional features (proper pattern matching, higher-kinded types, typeclasses, ...) and very powerful metaprogramming abilities, while being compatible with the Java OO model as long as you consume Java libraries (the other way around can be tricky, Kotlin is much better there). Only Flix takes it further but it's still an immature project.
- Seeking Language Project to Join
What are some alternatives?
ezno - A JavaScript compiler and TypeScript checker written in Rust with a focus on static analysis and runtime performance
libclc - Cache Line Container - C11
lwjgl3ify - A mod to run Minecraft 1.7.10 using LWJGL3 and Java 17, 19, 20
scryer-prolog - A modern Prolog implementation written mostly in Rust.
highfleet-ship-opt - A c/c++ module and python extensions for automatic optimization of Highfleet ship modules. Try it live at https://hfopt.jodavaho.io
yjs - Shared data types for building collaborative software
lamini
mpack - MPack - A C encoder/decoder for the MessagePack serialization format / msgpack.org[C]
Language-suggestions - Collecting ideas for a new .NET language that could replace C#
ntfy-android - Android app for ntfy.sh
otterkit - A free and open source Standard COBOL compiler for 64-bit environments