Re:Datalog in 100 lines of JavaScript (2022)
by anonzzzies on Monday January 22, 2024 @05:50AM
(#39088143)
I love this kind of article. Seeing that you can get somewhere (NOT a fullblown datalog, but isn't that obvious?) with a few lines of code, is truly a nice way to ease people into something. Going for a full implementation would make people almost immediately cry, so this is a lot better as 'first contact'.
[ Parent
| on HN ]
Re:Datalog in 100 lines of JavaScript (2022)
by namingisharder on Monday January 22, 2024 @07:39AM
(#39088845)
Except this isn’t Datalog. It’s just a poor quality implementation of relational algebra. This article did not actually teach you anything about Datalog, just continued to propagate misinformation.
Re:Datalog in 100 lines of JavaScript (2022)
by anonzzzies on Monday January 22, 2024 @08:00AM
(#39089018)
I see what you mean, but I do see it as a little introduction to knowledge (and interest) you need to actual go for something more advanced. But I see what you mean. Here (0) is a quite straightforward implementation that would make you happier I guess. But yeah, shouldn't be called Datalog, I agree.