Tiny scaffold for writing non side-effecting simulations