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

Message permanent page

β€” 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

Message permanent page

β€” 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