jaccomo
Re:Virtual Threads for a scripting language in Java 8 without Loom
on Tuesday September 01, 2026 @10:40AM (#49522642)
Author here: Jactl is a secure embeddable scripting language that compiles to bytecode and supports Java 8 and later versions. The article describes how Continuations were used to provide Virtual Thread-like behaviour for scripts.
Blocking operations suspend a script which is then resumed from where it left off once the operation completes.
Re:Show HN: Jactl – open-source, secure, non-blocking script language ...
on Thursday November 30, 2023 @06:12AM (#38472113)
The continuation is only invoked once when a blocking operation completes so the print(5) would only be run once.