a single-threaded, non-blocking, synchronous, single concurrent, language
i have a call stack an event loop a callback queue some other apis and stuff
i have a call stack and a heap (WTF are all those other things)
one thread == one call stack == one thing at a time
Demo
Desktop/stacktrace.html
or code that is slow;
concurrency & the event loop
one thing at a time except not really
Demo ... more ...
defer stuff till stack is clear
return;
By Stefan Hagiu