Mangle – a language for deductive database programming

95 points 15 comments 20 hours ago
albert_e

Is this the same "Deductive Database" mathematical programming language of Google DeepMind mentioned in the latest 3b1b guest video by Aleph0 (where they say the language doesnt have a name yet)

https://youtu.be/4NlrfOl0l8U?t=4m8s

haolez

I haven’t worked closely with Datalog, but whenever I come across tools that use it, they always seem to extend vanilla Datalog (like this one).

Are there any notable implementations of plain Datalog? If not, what’s the reason? Does vanilla Datalog have major limitations? Just curious.

Pxtl

Anybody who replaces the hoary old albatross of SQL without throwing out the relational algebra baby with the bathwater gets my support. I hope this goes far.

jauntywundrkind
anonzzzies

> I'm unconvinced the syntax makes a genuine difference

Syntax not, but datalog (-ish) does. It's a more natural way (imho of course) to query data. Far more complex queries with less mental overload.

Onavo

This is what? The third logic/datalog family query language Google launched? What's the internal story? Does each department have their own query engine?

yorwba

"This is not an officially supported Google product." For all we know, this is just some people having fun, but because they're having their fun at Google, it needs to be open-sourced under the Google umbrella.

diggan

> because they're having their fun at Google

I think it's even worse, even stuff they do in their freetime have to be under the Google umbrella if they want to open-source it, just because they work during the daytime at Google.

riku_iki

Does it depend on jurisdiction? In California, they are free to do whatever they want if they don't compete with employer (a little bit hard in case of Google of course)

hobofan

Which are the other ones that come to your mind?

I know of PathQuery[0], but that one doesn't have an open source implementation and is much more inspired by Graph query languages than SQL.

[0]: https://arxiv.org/abs/2106.09799

cess11

Perhaps they have https://logica.dev/ in mind. I think it's more restricted.

tomsmeding

Which is, in fact, linked in the readme of this project.

business_liveit

I wanna know what's the difference between the mysql and mangel?

tomsmeding

I suggest you read the linked readme. ;)

Made by @calebRussel