Re:Show HN: Jactl – open-source, secure, non-blocking script...
by gus_massa on Thursday November 23, 2023 @10:04AM
(#38393472)
> When a blocking operation is invoked, Jactl creates a Continuation object that captures the state of the running script such as the value of all local variables and the current call stack. When the long-running operation completes, the script state is restored and the script continues from where it left off.
I don't understand this. Is it possible that some code runs twice? (I know continuations from Racket/Scheme, but perhaps I'm misunderstanding the implementation.)
I don't understand this. Is it possible that some code runs twice? (I know continuations from Racket/Scheme, but perhaps I'm misunderstanding the implementation.)
Can 5 be printed twice?