Skip to content

Conversation

@moea
Copy link

@moea moea commented Jul 19, 2020

I made some far-reaching changes, as I was finding it difficult to include a lot of background while keeping the post size manageable. I settled on having the post talk almost entirely about how we're using / planning to use invariants, and targeting it at people w/ a degree of Datalog familiarity. It doesn't cover too many broader Datopia details that are covered in other posts.

We could have follow-up posts which talk about using invariant as an independent library when we've got a more solid API or other working examples - the idea with this one is to provoke interest in people w/ the relevant background knowledge.

Minor stuff:

  • I shortened the balance invariant, and fixed an issue w/ bigdec/long comparison - scratch gist here
  • datacoin -> lambdacoin, as there's apparently a cryptocurrency called datacoin

Let me know if you think this doesn't flow, or there's stuff you think ought to be covered.

@moea moea requested a review from whilo July 19, 2020 14:01
Copy link

@whilo whilo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except for the typo below this is very well written and focused to target audience. Thanks for taking the time to rewrite it!

deterministic[^1] --- and upper bounds on a query's resource
consumption are obtainable in principle via query planning.

[^1]: While pure Datalog is non-deterministic, Datahike and Datomic
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Datalog is deterministic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants