7 ms·
Definitive reference: https://www.urbanautomaton.com/blog/2015/08/10/the-pledge-to-put-prolog-in-production/ https://www.urbanautomaton.com/blog/2015/08/10/the-
by tomstuart 2y ago
Definitive reference: https://www.urbanautomaton.com/blog/2015/08/10/the-pledge-to-put-prolog-in-production/ https://www.urbanautomaton.com/blog/2015/08/10/the-pledge-to...
- overclock351 2y agoLooks fun :D, i think that if i ask my manager to build something out of Prolog i would probably get stab... i mean fired since most of us work in OOP. I would love to be that insane one asking for that :D.
- Avshalom 2y agoYou can use https://logtalk.org https://logtalk.org for oop in Prolog, use it on top of SWI and you have bidirectional bridges to Python an Java https://www.swi-prolog.org/FAQ/Python.md https://www.swi-prolog.org/FAQ/Python.md https://www.swi-prolog.org/pldoc/doc_for?object=section(%27packages/jpl.html%27) https://www.swi-prolog.org/pldoc/doc_for?object=section(%27p...
- chx 2y ago> Prolog is not suitable for any problem domain, although this is more readily apparent for some domains than others. Fuckin' A.
- jjtheblunt 2y agowhat does that mean?
- marcosdumay 2y agoIt's an except from the article. Getting an explanation out of context is worthless.
- jjtheblunt 2y agoExcerpt from what article? (edit: i see you're referring to the indented quote from the article, but i was asking what the "fuckin a." thing meant.)
- mkl 2y agohttps://www.urbandictionary.com/define.php?term=fucking%20a https://www.urbandictionary.com/define.php?term=fucking%20a
- nickpeterson 2y agoI only have one thing to say to this man, “hey! Quit stealing my moves!”
- DonHopkins 2y agoIf it's an official production system you want, then use OPS-5, not Prolog! https://en.wikipedia.org/wiki/OPS5 https://en.wikipedia.org/wiki/OPS5 >OPS5 is a rule-based or production system computer language, notable as the first such language to be used in a successful expert system, the R1/XCON system used to configure VAX computers. >The OPS (said to be short for "Official Production System") family was developed in the late 1970s by Charles Forgy while at Carnegie Mellon University. Allen Newell's research group in artificial intelligence had been working on production systems for some time, but Forgy's implementation, based on his Rete algorithm, was especially efficient, sufficiently so that it was possible to scale up to larger problems involving hundreds or thousands of rules.
- wduquette 2y agoI used DEC's VAX OPS5 for a couple years about around 1990. I quite liked it, and the later versions had some really nice extensions over Forgy's original design. Then we discovered that our particular rule base could easily be ported into C using a sequence of nested if/thens that ran much faster, and we stopped using OPS5. It was a great tool for doing the initial development, though.
- drmeister 2y agoDang, substitute Lisp for Prolog and this describes me. Seriously though - Prolog is an awesome tool to have in your toolbox. I've implemented Prolog-like logic programming solutions in several places in my 40+ years of programming. Like rules for assigning molecular mechanics force field atom types.
- infinite8s 2y ago> Like rules for assigning molecular mechanics force field atom types. Can you describe a bit more how prolog helped you here? Thanks!
- Suppafly 2y ago>Q: What if Prolog is not suitable for my employer’s problem domain? > >Prolog is not suitable for any problem domain, although this is more readily apparent for some domains than others. At least they are honest about it LOL