New World, Old Methods
In recent years JavaScript has become the most ubiquitous language in the world and now powers the mission-critical infrastructure of businesses such as Walmart and Netflix,[1] mobile operating systems such as Firefox OS, and complex popular applications such as Google Docs.
And yet we’re still using good ol‘ imperative-style programming to deal with problems that are essentially asynchronous. This is very hard.
JavaScript developers see the language’s lack of threads as a feature, and we usually write asynchronous code using callbacks, promises, and events. But as we keep adding more concurrency to our applications, the code to coordinate asynchronous flows becomes unwieldy. Current mechanisms all have serious shortcomings ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access