News for hackers. Stuff that matters.
Re:Advent of Code 2024 in pure SQL by AdieuToLogic on Thursday January 02, 2025 @07:46PM (#42580833)
> Most RDBMSs support recursive CTEs, it feels like writing Prolog with a slightly sadistic syntax.

Which makes sense as both are declarative logic-based languages. IMHO, SQL and Prolog fundamentally have much in common.

Re:Advent of Code 2024 in pure SQL by marxisttemp on Friday January 03, 2025 @06:43AM (#42584783)
I did a semester at the university of Edinburgh and took database systems and logic programming at the same time, and I definitely felt the synergy between them.