Message from JavaScript discussions

October 2018

— Add what? the coroutines?


I totally agree with them, and actually I think you could take a lot of stuff that I’m putting in the Babel plug-in, and do it right in the JIT compiler, without really having to re-write much of V8 internals

— No, I mean that these languages work the way JS works

— Concurrency

— 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"

— To use with Hz

— Actually JavaScript already runs coroutines, a subroutine is a stackful coroutine and a generator is a stackless coroutine

Message permanent page

— No, c# sure isn't