λProlog: Logic programming in higher-order logic

(lix.polytechnique.fr)

43 points | by ux266478 3 days ago

2 comments

  • yodsanklai 2 minutes ago
    I'm curious to see how AI is going to reshape research in programming languages. Statically typed languages with expressive type systems should be even more relevant for instance.
  • TheRoque 28 minutes ago
    I remember learning it in univerisity. It's a really weird language to reason with IMO. But really fun. However I've heard the performances are not that good if you wanna make e.g. game AIs with it.
    • pjmlp 5 minutes ago
      First of all, it helps to actually use a proper compiled Prolog implementation like SWI Prolog.

      Second you really need to understand and fine tune cuts, and other search optimization primitives.

      Finally in what concerns Game AIs, it is a mixture of algorithms and heuristics, a single paradigm language (first order logic) like Prolog, can't be a tool for all nails.

    • anonzzzies 6 minutes ago
      λProlog or Prolog? Probably Prolog I guess?