Re:Dynamic Translation of Smalltalk to WebAssembly
by OnlyMortal on Tuesday July 09, 2024 @02:42PM
(#40919427)
As an Obj-C guy, if I declare a method as input only and no return, it can run async in the run loop.
I assume Smalltalk can do the same?
The current release can do coroutines via the delimited continuation support, but the next release will have ready-to-use lightweight threads (aka "fibers") that integrate with JS promises. No async/await marked functions/calls.