Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event loop introspection #5

Open
DavidBruant opened this issue May 20, 2012 · 1 comment
Open

Event loop introspection #5

DavidBruant opened this issue May 20, 2012 · 1 comment

Comments

@DavidBruant
Copy link

Mark Miller's thesis contains a picture (page 107 of the document, Figure 14.2) of an E Vat which is somehow the equivalent of a JavaScript WebWorker. The context a webpage runs in is a vat.
A vat is made of a queue of "pending messages" which is what in the JavaScript world is called the event loop.
It would be great if it was possible to inspect, represent (and why not dynamically interact with) the event loop and the list of pending messages, very much like we currently can mess with the call stack.

@jimblandy
Copy link
Owner

I totally agree.

The pattern I hope to see played out is that we spin out a series of APIs
in the spirit of Debugger: CallProfiler; ObjectProfiler; EventLoopDebugger;
and so on.
On May 20, 2012 12:31 PM, "David Bruant" <
[email protected]>
wrote:

Mark Miller's thesis
contains a picture (page 107 of the document, Figure 14.2) of an E Vat
which is somehow the equivalent of a JavaScript WebWorker. The context a
webpage runs in is a vat.
A vat is made of a queue of "pending messages" which is what in the
JavaScript world is called the event loop.
It would be great if it was possible to inspect, represent (and why not
dynamically interact with) the event loop and the list of pending messages,
very much like we currently can mess with the call stack.


Reply to this email directly or view it on GitHub:
#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants