— No, I mean that these languages work the way JS works
— Which, I guess naturally translates to coroutines in this situation, but you don’t necessarily need coroutines to do that, it’s just one of the easiest ways
Message permanent page
— Yes, but doing in the jit will be a lot of work
— And even it won't give the same abstraction as Hz
— It will give primitives
— C# and Python are also both "one thing at a time"
— Actually JavaScript already runs coroutines, a subroutine is a stackful coroutine and a generator is a stackless coroutine
Message permanent page