Message from JavaScript discussions
October 2018
β ππππ +1
But if they look like functions, but don't act like functions (being first class, referential transparency), it induces other confusions
β This is why you need to know low level
β By the way, for reference, the public arguments google engineers have been having about how to add these features to JavaScript, a lot of the smarter ones have been saying hey, we can easily do this in the JIT compiler
β 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
β 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