News for hackers. Stuff that matters.
Re:Interpreter for a simple Lisp, Written in Prolog by YeGoblynQueenne on Friday March 01, 2019 @05:58AM (#19279457)
>> - it's not the IT culture, it's expressive and mathematical, not tool nor community oriented

Prolog is actually much closer to the computer science mindset than the statistical machine learning algorithms that are so popular right now. The kind of mathematics required to understand it are already in the computer science student's toolbox- discrete, combinatorial maths and logic.

The lack of toolkits and frameworks like in javascript, say, is the result of poor adoption, not its cause.

Re:Interpreter for a simple Lisp, Written in Prolog by agumonkey on Friday March 01, 2019 @06:27AM (#19279594)
I'm not sure I get the ML parallel, but tooling is often a word thrown by average groups as a feature required for a language to thrive or be valuable. For instance python/java etc often want these .. whereas common lisp didn't really. And often it's because the language paradigm/design makes tooling a thing you're not looking after. The few times you need something, you can hack it in on your own and keep your day going. Whereas other languages are heavy and require tooling and people thinks that's the norm and it's even a proof of professionalism to have and master tooling.
Re:Interpreter for a simple Lisp, Written in Prolog by YeGoblynQueenne on Friday March 01, 2019 @06:47AM (#19279690)
Well, it looks to me like everyone is falling over themselves to learn about machine learning at the moment- I often see posts on HN that ask questions about how one gets started with it without first learning statistics, calculus and linear algebra and so on.

I find it strange that there should be so much interest from programmers for a field that is completely alien to their background. It's a bit like if neurologists suddendly started asking "how does one get started on quantum entanglement, without first learning about general relativity and quantum mechanics?".

And I find it strange in particular when compared to the lack of any such interest in logic programming, for which programmers, like I say, already have the necessary background.

So, my conclusion is, the fact that most programmers are not interested in prolog has nothing to do with how hard or easy it is to learn the language and much more with practical considerations, like what happens to be popular in the industry right now.

Re:Interpreter for a simple Lisp, Written in Prolog by agumonkey on Friday March 01, 2019 @06:57AM (#19279728)
Oh that's clearly one factor.. ML is super shiny, prolog isn't.

That said, prolog is also very non procedural (unlike ML dsls which are layers on top of mainstream OO). It shifts your thinking into metalevel / denotational very quickly (since you don't think about one execution path but nested nearly pure enumerations). I think that's even more mind bending than tensors..