You Don't Know JS - Kyle Simpson - Async & Performance

Скачать

You Don't Know JS - Kyle Simpson - Async & Performance

Async & Performance

Год: 2015

Автор: Kyle Simpson

Издательство: O'Reilly Media

ISBN: 978-1-4919-0422-0 (Print)

ISBN: 978-1-4919-0420-6 (Ebook)

Серия: You Don't Know JS

Язык: Английский

Формат: PDF/EPUB

Качество: Изначально компьютерное (eBook)

Интерактивное оглавление: Да

Количество страниц: 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

Introduction

Preface

Foreword

Table of Content

Chapter 01: Asynchrony: Now & Later

Chapter 02: Callbacks

Chapter 03: Promises

Chapter 04: Generators

Chapter 05: Program Performance

Chapter 06: Benchmarking & Tuning

Appendix A: `asynquence` Library

Appendix B: Advanced Async Patterns

Appendix C: Acknowledgments

Скачать