Earlier quoted context omitted.
It is older than C. It is based on COBOL era idea of structured English as a computer language. There are better alternatives, e.g. Datalog.
I'm curious if you've personally used datalog in any projects. I've written some prolog, but haven't ever worked with datalog. Minigraph looks promising for some introductory goofing around.
Rethinking Database Programming
161–167 of 167 posts
Re: Rethinking Database Programming
#162Earlier quoted context omitted.
It is older than C. It is based on COBOL era idea of structured English as a computer language. There are better alternatives, e.g. Datalog.
These kind of comments don't age well in the days of AI programming using English.
Re: Rethinking Database Programming
#163Earlier quoted context omitted.
COBOL is indeed the spiritual predecessor of SQL. We have learned a lot since then about PL design, to put it mildly.
Yes, we now programm in straight English, and hope the machine gets it right.
Re: Rethinking Database Programming
#164Re: Rethinking Database Programming
#165Earlier quoted context omitted.
Sets and bags are trivially interconvertible so it's really not a big deal: https://h2.jaguarpaw.co.uk/posts/set-bag-irrelevance/
The point is if you're doing relational algebra you want to work with relations. The key reason why set semantics are nice is because the operations are guaranteed to return relations, so you don't have to check or make accountings of which return values are sets and which are bags, or worry about machinery to convert between the two. It's like how you can store numbers internally as floating points or rationals and…
Re: Rethinking Database Programming
#166Earlier quoted context omitted.
I'm curious if you've personally used datalog in any projects. I've written some prolog, but haven't ever worked with datalog. Minigraph looks promising for some introductory goofing around.
I am the author of Datalevin, a Datalog database. In addition to using it in production personally, I am aware of other people using it. So, the answer is yes.
Congratulations on release 1.0.0, and thank you for your contributions to open source.
Re: Rethinking Database Programming
#167Earlier quoted context omitted.
I am the author of Datalevin, a Datalog database. In addition to using it in production personally, I am aware of other people using it. So, the answer is yes.
Interesting! I ordered a copy of your book about Datalevin. I'll give it a try - even though I don't know Clojure. Congratulations on release 1.0.0, and thank you for your contributions to open source.