herbie VS paip-lisp

Compare herbie vs paip-lisp and see what are their differences.

paip-lisp

Lisp code for the textbook "Paradigms of Artificial Intelligence Programming" (by norvig)
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
herbie paip-lisp
6 67
729 7,022
1.4% -
9.9 0.8
3 days ago 7 months ago
HTML Common Lisp
GNU General Public License v3.0 or later MIT 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.

herbie

Posts with mentions or reviews of herbie. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-08.
  • Herbie: Find and fix floating-point accuracy problems
    1 project | news.ycombinator.com | 28 Nov 2023
  • Towards a New SymPy
    5 projects | news.ycombinator.com | 8 Sep 2023
    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.

  • Q: Automated floating point error analysis
    1 project | /r/compsci | 14 Feb 2023
    As a starting point, check Herbie: https://herbie.uwplse.org/
  • Someone’s Been Messing with My Subnormals
    3 projects | news.ycombinator.com | 6 Sep 2022
    Here is a really cool automatic tool that rewrites floating point expressions to be more accurate: https://herbie.uwplse.org/
  • Multiple precision floating point library
    4 projects | /r/rust | 24 Jul 2022
    On a related note, see tools like Herbie which rewrite floating point expressions to improve accuracy without altering the underlying data-type. It's worth being aware that sometimes you get really bad diminishing returns from using bigger floats and what you really need to do is to rewrite the calculation to avoid a weakness of floating point representation, see numerically unstable calculations.
  • Herbie – optimize floating-point expressions for accuracy
    1 project | news.ycombinator.com | 20 Mar 2022

paip-lisp

Posts with mentions or reviews of paip-lisp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-03.
  • The Loudest Lisp Program
    4 projects | news.ycombinator.com | 3 May 2024
    Have you seen https://stevelosh.com/blog/2018/08/a-road-to-common-lisp/ ? "Kludges" everywhere is applicable. On the other hand, having a function like "row-major-aref" that allows accessing any multi-dimensional array as if it were one dimensional is "sweeter than the honeycomb".

    I still think CL code can be beautiful. Norvig's in PAIP https://github.com/norvig/paip-lisp is nice.

    As for the inside-out remark, while technically you do it, you don't have to, and it's very convenient to not do. Clojure has its semi-famous arrow macro that lets you write things in a more sequential style, it exists in CL too, and there's always the venerable let* binding. e.g. 3 options:

        (loop (print (eval (read))))
  • Ask HN: Guide for Implementing Common Lisp
    3 projects | news.ycombinator.com | 1 Feb 2024
    PAIP by Peter Norvig, Chapter 23, Compiling Lisp

    https://github.com/norvig/paip-lisp/blob/main/docs/chapter23...

  • The Meeting of the Minds That Launched AI
    1 project | news.ycombinator.com | 11 Sep 2023
    Emacs is so much more than a text editor! But I need to stay on topic...

    I believe your assessment of LISP (and therefore of MacArthy)'s impact on AI to be unfair. Just a few days ago https://github.com/norvig/paip-lisp was discussed on this site, for example.

  • Towards a New SymPy
    5 projects | news.ycombinator.com | 8 Sep 2023
    Sounds like a great project idea to make a toy demo of this direction you'd like to see. Maybe comparable to https://github.com/norvig/paip-lisp/blob/main/docs/chapter15... and https://github.com/norvig/paip-lisp/blob/main/docs/chapter8.... which are a few hundred lines of Lisp each, but do enough to be interesting.
  • A few newbie questions about lisp
    4 projects | /r/Common_Lisp | 21 May 2023
    You could look into Paradigms of AI Programming by Peter Norvig which might interest you regardless of Lisp content.
  • Mathematical paradigm?
    1 project | /r/AskProgramming | 13 May 2023
    Lisp has great power, examine PAIP, part II chapters 7 and 8.
  • Peter Norvig – Paradigms of AI Programming Case Studies in Common Lisp
    8 projects | news.ycombinator.com | 5 May 2023
  • Evidence that GPT-4 has a level of understanding
    1 project | /r/singularity | 18 Apr 2023
    A computer running Prolog reasons, and that only requires a couple of pages of code. So it seems feasible that the network could have learned some ability to reason within its network.
  • Conversation with Larry Masinter about Standardizing Common Lisp
    1 project | news.ycombinator.com | 13 Apr 2023
    IMHO it's because lisp shines to manipulate symbols whereas the current AI trend is crunching matrices.

    When AI was about building grammars, trees, developing expert systems builds rules etc. symbol manipulation was king. Look at PAIP for some examples: https://github.com/norvig/paip-lisp

    This paradigm has changed.

  • A lispy book on databases
    2 projects | /r/lisp | 4 Apr 2023
    Origen: Conversación con Bing, 4/4/2023(1) gigamonkey/monkeylib-binary-data - GitHub. https://github.com/gigamonkey/monkeylib-binary-data Con acceso 4/4/2023. (2) paip-lisp/chapter4.md at main · norvig/paip-lisp · GitHub. https://github.com/norvig/paip-lisp/blob/main/docs/chapter4.md Con acceso 4/4/2023. (3) bibliography.md · GitHub. https://gist.github.com/gigamonkey/6151820 Con acceso 4/4/2023.

What are some alternatives?

When comparing herbie and paip-lisp you can also consider the following projects:

bigint-benchmark-rs - Bechmarks for Rust big integer implementations

mal - mal - Make a Lisp

egglog - egraphs + datalog!

30-days-of-elixir - A walk through the Elixir language in 30 exercises.

ibig-rs - A big integer library in Rust with good performance.

Crafting Interpreters - Repository for the book "Crafting Interpreters"

MuladdMacro.jl - This package contains a macro for converting expressions to use muladd calls and fused-multiply-add (FMA) operations for high-performance in the SciML scientific machine learning ecosystem

coalton - Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.

r6rs

picolisp-by-example - The source code of the free book "PicoLisp by Example"

slime - The Superior Lisp Interaction Mode for Emacs

pytudes - Python programs, usually short, of considerable difficulty, to perfect particular skills.