HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
potassco
clingo
C++2023–2023
potassco / clingo

clingo

🦉 A grounder and solver for logic programs.

2Distinct people
2Mentions
0Explicit recommenders
862GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

🦉 A grounder and solver for logic programs.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day2 dated mentions

Observed mentions: 2023-05-10 16:04:45 UTC to 2023-05-26 21:44:27 UTC.

012023-05-10 00:00:00 UTC to 2023-05-11 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 102023-05-11 00:00:00 UTC to 2023-05-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-12 00:00:00 UTC to 2023-05-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-13 00:00:00 UTC to 2023-05-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-14 00:00:00 UTC to 2023-05-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-15 00:00:00 UTC to 2023-05-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-16 00:00:00 UTC to 2023-05-17 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-17 00:00:00 UTC to 2023-05-18 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-18 00:00:00 UTC to 2023-05-19 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMay 182023-05-19 00:00:00 UTC to 2023-05-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-20 00:00:00 UTC to 2023-05-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-21 00:00:00 UTC to 2023-05-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-22 00:00:00 UTC to 2023-05-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-23 00:00:00 UTC to 2023-05-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-24 00:00:00 UTC to 2023-05-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-25 00:00:00 UTC to 2023-05-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-26 00:00:00 UTC to 2023-05-27 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 26

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 102023-05-10 00:00:00 UTC2023-05-11 00:00:00 UTC101
May 112023-05-11 00:00:00 UTC2023-05-12 00:00:00 UTC000
May 122023-05-12 00:00:00 UTC2023-05-13 00:00:00 UTC000
May 132023-05-13 00:00:00 UTC2023-05-14 00:00:00 UTC000
May 142023-05-14 00:00:00 UTC2023-05-15 00:00:00 UTC000
May 152023-05-15 00:00:00 UTC2023-05-16 00:00:00 UTC000
May 162023-05-16 00:00:00 UTC2023-05-17 00:00:00 UTC000
May 172023-05-17 00:00:00 UTC2023-05-18 00:00:00 UTC000
May 182023-05-18 00:00:00 UTC2023-05-19 00:00:00 UTC000
May 192023-05-19 00:00:00 UTC2023-05-20 00:00:00 UTC000
May 202023-05-20 00:00:00 UTC2023-05-21 00:00:00 UTC000
May 212023-05-21 00:00:00 UTC2023-05-22 00:00:00 UTC000
May 222023-05-22 00:00:00 UTC2023-05-23 00:00:00 UTC000
May 232023-05-23 00:00:00 UTC2023-05-24 00:00:00 UTC000
May 242023-05-24 00:00:00 UTC2023-05-25 00:00:00 UTC000
May 252023-05-25 00:00:00 UTC2023-05-26 00:00:00 UTC000
May 262023-05-26 00:00:00 UTC2023-05-27 00:00:00 UTC101

What Hacker News says

2 sources
Love this article and the push to build awareness of what modern SAT solvers can do. It's worth mentioning that there are higher level abstractions that are far more accessible than SAT. If I were teaching a course on this, I would start with either Answer Set Programming (ASP) or Satisfiability Modulo Theories (SMT). The most widely used solvers for those are clingo [0] and Z3 [1]: With ASP, you write in a much clearer Prolog-like syntax that does not require nearly as much encoding effort as your typical SAT problem. Z3 is similar -- you can code up problems in a simple Python API, or write them in the smtlib language. Both of these make it easy to add various types of optimization, constraints, etc. to your problem, and they're much better as modeling languages than straight SAT. Underneath, they have solvers that leverage all the
Read the rest
modern CDCL tricks. We wrote up a paper [2] on how to formulate a modern dependency solver in ASP; it's helped tremendously for adding new types of features like options, variants, and complex compiler/arch dependencies to Spack [3]. You could not get good solutions to some of these problems without a capable and expressive solver. [0] https://github.com/potassco/clingo [1] https://github.com/Z3Prover/z3 [2] https://arxiv.org/abs/2210.08404, https://dl.acm.org/doi/abs/10.5555/3571885.3571931 [3] https://github.com/spack/spack
In Modern SAT solvers: fast, neat and underused (2018)
Answer Set Programming is an incredibly powerful tool to declaratively solve combinatorial problems. Clingo is one of the best open source implementations in my opinion: https://github.com/potassco/clingo - Based on conflict driven nogood learning, it has incredible performance (including good multithreading) - It has different optimization and enumeration modes - It has strong built-in heuristics, but also allows manual heuristics - It allows incremental solving - It has a nice API to integrate other solving paradigms (like difference logic and constraint programming, for which implementations already exist) - There is a huge ecosystem around it And much more, go check it out!
In Ask HN: What is new in algorithms and data structures these days?

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.