r/ProgrammingLanguages • • Jul 04 '26

Probabilistic Programming Language Interpreter

/r/Kotlin/comments/1um1u5d/probabilistic_programming_language_interpreter/
18 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/Ok-Scheme-913 Jul 05 '26

I believe this is more generally referred to as transactions. For non-db use there is existing (niche?) research into it under software transactional memory. In particular, clojure does have it in the standard library, though it doesn't have as much use unfortunately.

2

u/LeoBrasileo Jul 08 '26

Yeah exactly. The idea of checkpoint is something like a closure of smalltalk. It saves the context of where it was defined and changes it evaluation given some parameters defined at that time. In this case we use them to sample or observe latent variables.