You Don't Know JS: Async & Performance
Publisher: O'Reilly Media
Final Release Date: February 2015
Pages: 296

No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. As part of the "You Don’t Know JS" series, this concise yet in-depth guide focuses on new asynchronous features and performance techniques—including Promises, generators, and Web Workers—that let you create sophisticated single-page web applications and escape callback hell in the process.

Like other books in this series, You Don’t Know JS: Async & Performance dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can become a true JavaScript master.

With this book you will:

  • Explore old and new JavaScript methods for handling asynchronous programming
  • Understand how callbacks let third parties control your program’s execution
  • Address the "inversion of control" issue with JavaScript Promises
  • Use generators to express async flow in a sequential, synchronous-looking fashion
  • Tackle program-level performance with Web Workers, SIMD, and asm.js
  • Learn valuable resources and techniques for benchmarking and tuning your expressions and statements
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyYou Don't Know JS: Async & Performance
 
4.3

(based on 3 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (3)

Cons

No Cons

Best Uses

  • Expert (3)
  • Intermediate (3)
    • Reviewer Profile:
    • Developer (3)

Reviewed by 3 customers

Displaying reviews 1-3

Back to top

 
5.0

Everything you should know (but you don't) about Async

By Cezar Augusto

from Rio de Janeiro, Brazil

About Me Developer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Unique Information

Cons

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly You Don't Know JS: Async & Performance:

    The way that Kyle Simpson teach concepts and conduce the reading experience in this book really stands out if compared to other authors. It's like being mentored by an old and experienced friend.

    This book (and the book series as a whole) is an unique experience for those looking to understand how things (really) work and how to take advantage of best practices. Kyle is pragmatic, concise and straight to the point.

    This book specifically offer valuable information for developers that had already some familiarity with JS. For those who not, I would recommend buying the full YDKJS serie and start with Up & Running

    (1 of 1 customers found this review helpful)

     
    4.0

    I still don't know JS :)

    By RetekBacsi

    from Budapest, Hungary

    About Me Developer

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly You Don't Know JS: Async & Performance:

      This is a really great book which helps you realise that you don't know Javascript.
      It's part of a series, so you might feel like some parts are not explained enough, but that's done on the other books in great detail. So do yourself a favour, and buy all of them.
      It might be too high level for an absolute beginner, but it was a good read for me as a seasoned developer.
      The book did a great job helping me really understand the parts I was already using, and also shown new perspectives.
      The only negative feeling I have is that the author's own library gets too much attention.

      (6 of 6 customers found this review helpful)

       
      4.0

      So far, so good

      By Bruce lookingForClarity

      from Portugal

      About Me Developer

      Verified Reviewer

      Pros

      • Easy to understand
      • Helpful examples

      Cons

        Best Uses

        • Expert
        • Intermediate
        • Novice
        • Student

        Comments about oreilly You Don't Know JS: Async & Performance:

        Bought it for a flight reading which allowed me to cover chaps 1, 2 and almost half of the 3rd and so far so good. Clearly showing what it means to be async (chap1), it then shows "callbacks" as the standard way asynchrony is injected in JS apps nowadays and the problems you inevitably find with them ("control inversion" being one). Chap 3 presents a new asynchrony pattern: "Promises", promised to be the next star player on the JS async league.

        Along the way, a clear explanation on how events are managed with the "event queue" allowed me to understand why setTimeout is used when splitting giant loops into several smaller callbacks; while dealing with JS performance issues.

        The book might profit from a revision on the text (sometimes the flow of the speech seems too dense).

        It looks like the book will be a good investment.

        Displaying reviews 1-3

        Back to top

         
        Buy 2 Get 1 Free Free Shipping Guarantee
        Buying Options
        Immediate Access - Go Digital what's this?
        Ebook:  $21.99
        Formats:  DAISY, ePub, Mobi, PDF
        Print & Ebook:  $27.49
        Print:  $24.99