News for hackers. Stuff that matters.
Re:Learn Prolog Now by jodrellblank on Wednesday November 12, 2025 @03:49PM (#45906445)
Because I can solve problems that would take the age of the universe to brute force, without waiting the age of the universe. So can you: start counting at 1, increment the counter up to 10^8000, then print the counter value.

Prolog: 1, 2, 3, 4, 5 ...

You and me instantly: 10^8000

Re:Learn Prolog Now by numpy-thagoras on Wednesday November 12, 2025 @05:25PM (#45907724)
There's a whole lot of undecidable (or effectively undecidable) edge cases that can be adequately covered. As a matter of fact, Decidability Logic is compatible with Prolog.
Re:Learn Prolog Now by nuc1e0n on Saturday November 15, 2025 @11:20AM (#45938457)
The brain can still use other means of working in addition to brute forcing solutions. For example, how would you go about solving the chess puzzle of eight queens that doesn't involve going through the potential positions and then filtering out the options that don't match the criteria for the solution?

Prolog can also evaluate mathematical expressions directly as well.