News for hackers. Stuff that matters.
Re:Ask HN: What's Prolog Like in 2024? by DamonHD on Thursday July 18, 2024 @07:51AM (#40994727)
Many many languages that you will encounter and use in live projects are primarily imperative, eg: C, C++, JavaScript. The describe the "how" and "in what order".

While I was an undergrad I was exposed to Standard ML and Prolog, both of which were/are much more about declarative "what", though they could only practically interact with the actual world by side-effects and some imposed ordering (SML's 'ref', Prolog's cut).

I am still waiting for some of the amazing stuff that was in SML to materialise in C++ and Java for example, less so anything from Prolog. For example, to search a state space I might use an off-the-shelf solver with good heuristics and an objective function written in something imperative rather than use Prolog.

But it it really is over 30Y since I touched Prolog, so life in it may be very different now.

Re:Ask HN: What's Prolog Like in 2024? by overclock351 on Thursday July 18, 2024 @07:57AM (#40994772)
Pretty interesting stuff, thanks for sharing :D