logoalt Hacker News

Virtual Threads for a scripting language in Java 8 without Loom

15 pointsby jaccomolast Tuesday at 2:36 PM1 commentview on HN

Comments

jaccomolast Tuesday at 2:40 PM

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.