EPISODE · Apr 14, 2025 · 26 MIN
You Don't Know JS: Async & Performance
from CyberSecurity Summary · host CyberSecurity Summary
This Book is from Kyle Simpson's "You Don't Know JS: Async & Performance," exploring JavaScript's asynchronous nature. It contrasts the limitations of callbacks, highlighting their impact on code readability and maintainability, particularly in handling concurrency and potential trust issues with external libraries. The book then introduces Promises as a superior solution, emphasizing their composability and trust-building mechanisms for managing asynchronous operations. Further, it examines generators and their role in creating more sequential-looking asynchronous code, along with their integration with Promises. Finally, the text discusses Web Workers for task parallelism and micro-level performance optimization strategies, including benchmarking techniques and the importance of context in performance analysis.You can listen and download our episodes for free on more than 10 different platforms:https://linktr.ee/cyber_security_summaryGet the Book now from Amazon:https://www.amazon.com/You-Dont-Know-JS-Performance/dp/1491904224?&linkCode=ll1&tag=cvthunderx-20&linkId=cf546182b17879927a0d5ba302c79651&language=en_US&ref_=as_li_ss_tlDiscover our free courses in tech and cybersecurity, Start learning today:https://linktr.ee/cybercode_academy
What this episode covers
This Book is from Kyle Simpson's "You Don't Know JS: Async & Performance," exploring JavaScript's asynchronous nature. It contrasts the limitations of callbacks, highlighting their impact on code readability and maintainability, particularly in handling concurrency and potential trust issues with external libraries. The book then introduces Promises as a superior solution, emphasizing their composability and trust-building mechanisms for managing asynchronous operations. Further, it examines generators and their role in creating more sequential-looking asynchronous code, along with their integration with Promises. Finally, the text discusses Web Workers for task parallelism and micro-level performance optimization strategies, including benchmarking techniques and the importance of context in performance analysis.You can listen and download our episodes for free on more than 10 different platforms:https://linktr.ee/cyber_security_summaryGet the Book now from Amazon:https://www.amazon.com/You-Dont-Know-JS-Performance/dp/1491904224?&linkCode=ll1&tag=cvthunderx-20&linkId=cf546182b17879927a0d5ba302c79651&language=en_US&ref_=as_li_ss_tlDiscover our free courses in tech and cybersecurity, Start learning today:https://linktr.ee/cybercode_academy
NOW PLAYING
You Don't Know JS: Async & Performance
No transcript for this episode yet
Similar Episodes
Jun 13, 2025 ·17m
May 7, 2025 ·14m
Mar 26, 2025 ·23m
Feb 22, 2025 ·13m
Jan 7, 2025 ·10m
Dec 31, 2024 ·19m