r/Clojure • • Aug 20 '26

raylib examples in Jolt

https://raylib-jlt.b12n.app/
34 Upvotes

27 comments sorted by

View all comments

Show parent comment

2

u/yogthos Aug 31 '26

In my case it was relevant because the document itself is cross-disciplinary. You have nursers, doctors, pharmacists, and clerks all being interested in overlapping subsections of the overall data set. So, each role sees a subset of the overall document which has to stay consistent. It's relevant for the doctor that the BMI is calculated, while it's only relevant to the nurse that height and weight are collected.

And state synchronization just falls out for free once you know the subgraphs associated with each field. The nice part is that you can calculate them up front too, so it's pretty much zero runtime cost to figure out which fields need to be locked together.

The whole relationship between the UI and data is a really interesting rabbit hole for sure. :)