The goal of this talk would be to provide a good understanding of the following,
A crisp understanding of the JavaScript VM and how a single threaded engine can be massively parallel. How event loop and callbacks works, example of blocking and non-blocking codes, ES6 generators for custom Async signaling. How function definitions happen and invocations happen, how scope chains are formed, what closures are and how to reason about them. Async programming, how reactive programming works at the bottom level, how event listeners registers themselves and then deregisters.
https://jsfoo.talkfunnel.com/2015/44-javascript-vm-internals-eventloop-async-and-scopec
Original source
39 responses to “Arindam Paul – JavaScript VM internals, EventLoop, Async and ScopeChains”
Hmm … So did Kyle Simpson learn this from Arindam Paul or did Arindam learn from Kyle?
Excellent presentation on a difficult subject to explain. A more in depth article or a related topic:
https://dev.to/sanjsanj/optimising-the-front-end-for-thebrowser?utm_content=buffer78be3&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
From 30:00 onwards, it's blatant plagiarism of Philip Roberts's JSConf EU 2014 seminar, exact wordings. 🙂
awesome can you make this in hindi / urdu?
what a great presentation!
Awesome content, funny accent. Especially when he pronounces "g" as "z" ?
which talk was first, this one or the one with "what is the event loop anyway"
superb
irksome accent 🙁
Simply nailed it. Awesome.
very thick indian accent. hard to follow.
which IDE was used for this ? can anybody suggest?
which IDE was used for this ? can anybody suggest?
Awesome Presentation
another interesting source for variable hoisting :http://stackoverflow.com/questions/336859/javascript-function-declaration-syntax-var-fn-function-vs-function-fn?rq=1#answer-34995357
Very useful information, Thank you.
Superb .
28:20 "What the fuck" LOOOL
Fantastic presentation Arindam.
nice video
Awesome!
Really awesome explanation. The way i look at javascript is completely changed. Thank you so much.
Hi @arindam
I have a query declartion "e=1" in f() is unlike b or c, in global scope. Is it the special case?
Nice presentation. Happy to see Indian programmers dig deep into the concepts and understand them.
And this is one of the best videos that I have seen about Javascript Closures.
I think the pace at which the Event Loop concept was explained was too fast.
For those of you who are interested this is an excellent video
https://www.youtube.com/watch?v=8aGhZQkoFbQ
This is awesome.
This was super !! got the actual idea of closure
nice! Thanks.
Awesome one bud. Thanks for sharing this one!
🙂 🙂 🙂
Thank for the video 🙂
awesome! Thanks for sharing
Hey guys I though this information would help you.
During the memory allocation phase,if you have a variable assignment (var b =3) it will allocate the memory for variable b and set the value of be to be UNDEFINED,a special value in JS.And later during execution phase the assignment actually happens.
This is awesome. Lot of things in jS now makes sense.
It starts slowly, but the run through at the tenth minute is very good, thhanks a lot
What you mean to say is that Declarations take precedence over Statements and are parsed through first in the 'compilation phase' and then things are put together in the 'execution phase' where statements are brought into play to generate the output? Add to that, variable hiding and forgiving nature of JS, the concept sounds and looks messy. I say that despite the fact that I like JavaScript. Very helpful and highly informative. Thanks a ton.
Good one Arindam.
awesome just inspired me to dig in more…
Thanks 🙂
This video is so good!!! I learn a lot of things.