Hacker ApprovedDepartments

SWI-Prolog

Hacker Approved

Prolog implementation in Developer tools

Recommended as a free, batteries-included Prolog that starts quickly and runs out of the box, though some find it less easy to use than alternatives.

Recommended as a free, batteries-included Prolog that starts quickly and runs out of the box, though some find it less easy to use than alternatives.

18 people gave an opinion

recommend it
16
criticize it
2
approval share
89%
Each figure is one person. RecommendsCriticizes

Recommended in 6 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 16 people recommend itNeeds 10 or more, met.
  • 8 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 6 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Actively maintained, approachable codebase

    “Amazing that it is still available & updated - even with its original name”

    Comment from 4 Dec 2025 in “SWI-Prolog 10.0.0 Released”

    “its most popular implementation, that is also the best maintained”

    Comment from 16 Jan 2026 in “My Gripes with Prolog”

    “the SWI-Prolog codbase itself is quite approachable!”

    Comment from 16 Jan 2026 in “My Gripes with Prolog”
  • Flexible: server, browser and scripts

    “SWI-Prolog specifically provides a fairly straightforward JSON-based server mode "Machine Query Interface"”

    Comment from 12 Nov 2025 in “Learn Prolog Now (2006)”

    “you can even run it directly in your browser as there's a WASM port”

    Comment from 24 Feb 2026 in “Extending C with Prolog (1994)”

    “invoke SWI-Prolog like you'd call any other language's interpreter”

    Comment from 7 Jan 2026 in “Stop Designing Languages. Write Libraries Instead (2016)”
  • Batteries-included with many libraries

    “SWI Prolog ships with libraries for Tries, Association Lists, Red-Black trees, and other things.”

    Comment from 18 May 2026 in “Prolog Basics Explained with Pokémon”

    “SWI Prolog is just fine, and you'll find it to be batteries included unlike many other choices.”

    Comment from 16 Jan 2026 in “My Gripes with Prolog”
  • Fast startup and good performance

    “The Prolog app is very fast, considering what it's doing, largely because it makes heavy use of tabling”

    Comment from 18 May 2026 in “Prolog Coding Horror”

    “It starts up quickly, and is decently performant within its peers of high level GC languages”

    Comment from 12 Nov 2025 in “Learn Prolog Now (2006)”

What people warn about

Each mark is one comment

  • Less easy to use than alternatives

    “But it doesn't have the ease of use in my game dev context as a simple Dart library does.”

    Comment from 12 Nov 2025 in “Learn Prolog Now (2006)”

What people said

19 of the 21 comments that mention it, newest first. Each links to the original comment.

“SWI Prolog ships with libraries for Tries, Association Lists, Red-Black trees, and other things.”

RecommendsComment from 18 May 2026 in “Prolog Basics Explained with Pokémon”

“For regular users, it was relatively easy to understand and change the facts.”

RecommendsComment from 18 May 2026 in “Prolog Coding Horror”

“The Prolog app is very fast, considering what it's doing, largely because it makes heavy use of tabling”

RecommendsComment from 18 May 2026 in “Prolog Coding Horror”

“still being saner than SWI Prolog and co.”

CriticizesComment from 17 May 2026 in “Prolog Basics Explained with Pokémon”

“SWI-Prolog and its myriad of frameworks (which includes a full blown GNU Emacs clone) work out of the box anywhere”

RecommendsComment from 9 Apr 2026 in “Explore union types in C# 15”

“you can even run it directly in your browser as there's a WASM port”

RecommendsComment from 24 Feb 2026 in “Extending C with Prolog (1994)”

“The Prolog is pretty nice the way I can now specify predicates for MQTT topic paths”

RecommendsComment from 24 Feb 2026 in “Extending C with Prolog (1994)”

“it helps to actually use a proper compiled Prolog implementation like SWI Prolog”

RecommendsComment from 24 Feb 2026 in “ΛProlog: Logic programming in higher-order logic”

“SWI Prolog is just fine, and you'll find it to be batteries included unlike many other choices.”

RecommendsComment from 16 Jan 2026 in “My Gripes with Prolog”

“its most popular implementation, that is also the best maintained”

RecommendsComment from 16 Jan 2026 in “My Gripes with Prolog”

“That's because SWI isn't following ISO”

CriticizesComment from 16 Jan 2026 in “My Gripes with Prolog”

“the SWI-Prolog codbase itself is quite approachable!”

RecommendsComment from 16 Jan 2026 in “My Gripes with Prolog”

“a language that's designed to solve those sorts of problems? In 14 lines of code.”

RecommendsComment from 11 Jan 2026 in “Learning from Sudoku Solvers (2007)”

“invoke SWI-Prolog like you'd call any other language's interpreter”

RecommendsComment from 7 Jan 2026 in “Stop Designing Languages. Write Libraries Instead (2016)”

“Amazing that it is still available & updated - even with its original name”

RecommendsComment from 4 Dec 2025 in “SWI-Prolog 10.0.0 Released”

“But it doesn't have the ease of use in my game dev context as a simple Dart library does.”

MixedComment from 12 Nov 2025 in “Learn Prolog Now (2006)”

“SWI-Prolog specifically provides a fairly straightforward JSON-based server mode "Machine Query Interface"”

RecommendsComment from 12 Nov 2025 in “Learn Prolog Now (2006)”

“It starts up quickly, and is decently performant within its peers of high level GC languages”

MixedComment from 12 Nov 2025 in “Learn Prolog Now (2006)”

“you could reasonably write entire applications in SWI-Prolog”

RecommendsComment from 12 Nov 2025 in “Learn Prolog Now (2006)”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.