News for hackers. Stuff that matters.
Re:The Power of Prolog by galaxyLogic on Wednesday April 08, 2020 @05:15PM (#22817240)
A related question is why do we still have SQL databases when everybody could be using Datalog?

https://en.wikipedia.org/wiki/Datalog

Re:The Power of Prolog by tom_mellior on Thursday April 09, 2020 @05:19AM (#22820955)
Some guesses, I have no skin in this game:

- historical inertia, i.e., SQL being better known, being taught to a lot more people, already used everywhere; even if every new project started Datalog, we would "still have SQL databases" for many decades, see the recent publicity for Cobol

- aggregate functions, sorting of results

- syntax: "select foo, bar from table_with_many_many_columns" is easier to get right than "table_with_many_many_columns(_, _, _, _, Bar, _, _, _, _, Foo, _, _, _)" (though in most other aspects Datalog syntax is indeed superior)

Re:The Power of Prolog by jplane on Wednesday April 08, 2020 @05:52PM (#22817597)
Take a look at datomic, it uses datalog.
Re:The Power of Prolog by galaxyLogic on Thursday April 09, 2020 @04:13PM (#22826708)
Seems awesome from the outset. I especially like "Datomic stores all history, and lets you query against any point in time."