Ask HN: What's Prolog like in 2024?
31–40 of 289 posts
Re: Ask HN: What's Prolog like in 2024?
#32Earlier quoted context omitted.
Any answer here is a good one since the question is soooo unspecific :D. My professor is a staunch advocate for RDF/OWL, inference engines and stuff like that (hence why i also mentioned ontologies :D). The thing is that i think that the language itself has so much untapped potential and the world that i dived into with my studies is so vast, so full of stuff that it left me kind of dazed to be fair! I got some paper…
You are definitely on to something here. OOP has some common roots with formal ontologies and knowledge representation (not so much the programming languages, but object oriented modeling). OO fails at this for various reasons, whereas logic is tailored for this specific purpose. Check out ErgoAI (formerly Flora-2), it's the most advanced Prolog flavor for representing and reasoning over knowledge. https://github.com…
Re: Ask HN: What's Prolog like in 2024?
#33Shameless plug: you should check out my podcast The Search Space for a view of the broader landscape of Prolog and logic programming: https://thesearch.space/ I don't publish episodes often but I have a lot of good interviewees lined up :) In general, I would advice you to look beyond Prolog and explore Answer Set Programming, the Picat language, and the connections between logic programming and databases (SQL, RDF o…
Re: Ask HN: What's Prolog like in 2024?
#34Re: Ask HN: What's Prolog like in 2024?
#35I would say in the open source world, SWI Prolog is still the king implementation, in regards to tooling, language features beyond ISO Prolog, and toolchains. https://www.swi-prolog.org/
Re: Ask HN: What's Prolog like in 2024?
#36Edit: ... and on performance vs SWI Prolog, too
Re: Ask HN: What's Prolog like in 2024?
#37My professor swapped Prolog out for Rust at the last minute. I don't know whether he did us a disservice or a favor.
Re: Ask HN: What's Prolog like in 2024?
#38My professor swapped Prolog out for Rust at the last minute. I don't know whether he did us a disservice or a favor.
Re: Ask HN: What's Prolog like in 2024?
#39Definitive reference: https://www.urbanautomaton.com/blog/2015/08/10/the-pledge-to...
Re: Ask HN: What's Prolog like in 2024?
#40Not sure about Prolog itself but Datalog really needs to overtake SQL, it's just so much better. Related areas like constraint programming are still very relevant.
Could you explain more or point out some interesting references? I'm currently trying to understand how Datalog compares to SQL and, potentially GraphDBs
Not only is it conceptually much simpler, it's also a "pit of success" situation as thinking in terms of relations instead of tables leads you towards normal forms by default.
Add the ability to automatically derive new facts based on rules and it just wins by a country mile. I recommend giving Soufflé a try.
I haven't worked with GraphDBs enough to comment on that.