Re:Show HN: Writing an HTTP server in Prolog
by aibottle on Saturday November 12, 2016 @06:33PM
(#12940822)
No! What are you doing?! Let that language die in peace!
[ Parent
| on HN ]
Re:Show HN: Writing an HTTP server in Prolog
by chriswarbo on Saturday November 12, 2016 @07:21PM
(#12941033)
Any particular reason you think Prolog should be abandoned?
I think it looks like very nice language for untyped, high-level programming.
Re:Show HN: Writing an HTTP server in Prolog
by dangoldin on Saturday November 12, 2016 @08:06PM
(#12941216)
My understanding is that there's a very limited amount of research going into Prolog so it ends up being incredibly slow for larger tasks. And a lot of it's functionality can be done via standard SQL so there's not a ton of use cases for it.
Re:Show HN: Writing an HTTP server in Prolog
by siddboots on Saturday November 12, 2016 @11:58PM
(#12941938)
Prolog implementations are still the fastest, most researched, and most practical logic languages out there. I don't know what the alternative would be, besides something fundamentally less powerful, like datalog or sql.
SQL only gets you so far. For example, you can't do something as straight forward as logic based arithmetic in SQL.
Re:Show HN: Writing an HTTP server in Prolog
by dangoldin on Sunday November 13, 2016 @03:12PM
(#12945366)
Ah got it - thanks for letting me know. Do you know how popular logic languages are these days? I've watched a few talks on Datalog so it seems there's something there.
Agree with you on the SQL part and was just making the point that a lot of the intro Prolog examples can be done in SQL.
Re:Show HN: Writing an HTTP server in Prolog
by wagmo on Sunday November 13, 2016 @12:34AM
(#12942027)
I don't know how much research is going into Prolog itself, but there are logic programming languages that have seen active development recently, like Mercury https://mercurylang.org/