You Don't Know JS: Async & Performance (Paperback)

Kyle Simpson

買這商品的人也買了...

商品描述

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

商品描述(中文翻譯)

無論您對JavaScript有多少經驗,很可能您並不完全了解這個語言。作為「You Don't Know JS」系列的一部分,這本簡潔而深入的指南專注於新的異步功能和性能技巧,包括Promises、generators和Web Workers,讓您能夠創建複雜的單頁網絡應用程序並且在過程中擺脫回調地獄。

與本系列的其他書籍一樣,《You Don't Know JS: Async & Performance》深入探討了許多JavaScript程序員通常避免的語言中較為棘手的部分。憑藉這些知識,您可以成為真正的JavaScript大師。

通過這本書,您將能夠:
- 探索處理異步編程的新舊JavaScript方法
- 理解回調如何讓第三方控制程序的執行
- 解決JavaScript Promises中的「控制反轉」問題
- 使用generators以順序、同步的方式表達異步流程
- 通過Web Workers、SIMD和asm.js處理程序級的性能
- 學習有價值的資源和技巧,用於基準測試和調優您的表達式和語句。