22:14 | <littledan> | Yoav Weiss and I had a nice chat on this topic earlier today. Based on that, I'm hopeful that we'd be able to make AsyncContext layer in as the same thing that many of the built-in-to-the-browser timing cases that Yoav is working on, but I don't fully understand it all yet. In this way, we might work in parallel in TC39 vs web standards, with a pretty narrow point of overlap for the interaction/layering, and no need for one side to block on the other. |
22:15 | <littledan> | One thing which was especially interesting to me was that Yoav's current version is based on saving/restoring the context across tasks, as opposed to when callbacks are taken in by WebIDL. This was found to have better performance. The technique makes sense to me, and was just different from what I expected. In any case, this detail sits outside of what TC39 is responsible for. |
23:01 | <Justin Ridgewell> | That’s great to hear! |
23:02 | <Justin Ridgewell> | Shy said they were a bit worried about the extra memory per callback, but if there’s a better way then that’s amazing |