{"id":"y-NOz94ZEOA","title":"Fading Audio is ROUGH on CPUs","description":"Fading out audio is one of the most CPU-intensive tasks you can possibly do!\n\nWhen numbers get *really* small, the number of CPU operations can explode 100-fold.  Both x86 and ARM have special CPU instructions just to handle it.  But why?\n\nIn this video, we'll explore the IEEE 754 (floating point) standard, the fight between Intel and DEC, and I'll write some demonstration C++ code that illustrates this problem even today!\n\n---\n\nTimestamps:\n\n00:00 Subnormal Arithmetic Cost\n02:25 An Accuracy Debate...\n06:28 Too small to calculate?\n08:56 IEEE 754 Standard\n10:17 Digital Audio Workstation Conundrum\n14:18 A Massive CPU Spike\n\n---\n\nFollow LaurieWired on Social Media:\n►https://linktr.ee/lauriewired\n\n---\n\nPapers Cited:\n\n\"An Interview with the Old Man of Floating-Point\":\nhttps://people.eecs.berkeley.edu/~wkahan/ieee754status/754story.html\n\nPentium 4 and Xeon Processor Optimization manual  (Chapter 5, “Optimizing for SIMD Floating-point\"):\nhttps://kib.kiev.ua/x86docs/Intel/Intel-OptimGuide/248966-004.pdf\n\n---\n\nShort demo code:\nhttps://gist.github.com/LaurieWired/3f8be4648b3e627e3fcd5607d83b405f","duration":991,"upload_date":"2025-08-12","view_count":744426,"like_count":47841,"dislike_count":370,"comment_count":3393,"status":"completed","archived_at":"2026-10-19 18:08:40.410724","metadata":{"id":"y-NOz94ZEOA","title":"Fading Audio is ROUGH on CPUs","channel":"LaurieWired","duration":991,"uploader":"LaurieWired","extractor":"innertube","thumbnail":"https://i.ytimg.com/vi/y-NOz94ZEOA/hqdefault.jpg","channel_id":"UCJXa3_WNNmIpewOtCHf3B0g","like_count":47841,"thumbnails":{"high":{"url":"https://i.ytimg.com/vi/y-NOz94ZEOA/hqdefault.jpg","width":480,"height":360},"maxres":{"url":"https://i.ytimg.com/vi/y-NOz94ZEOA/maxresdefault.jpg","width":1280,"height":720},"medium":{"url":"https://i.ytimg.com/vi/y-NOz94ZEOA/mqdefault.jpg","width":320,"height":180},"default":{"url":"https://i.ytimg.com/vi/y-NOz94ZEOA/default.jpg","width":120,"height":90},"standard":{"url":"https://i.ytimg.com/vi/y-NOz94ZEOA/sddefault.jpg","width":640,"height":480}},"view_count":744426,"_channel_id":"UCJXa3_WNNmIpewOtCHf3B0g","description":"Fading out audio is one of the most CPU-intensive tasks you can possibly do!\n\nWhen numbers get *really* small, the number of CPU operations can explode 100-fold.  Both x86 and ARM have special CPU instructions just to handle it.  But why?\n\nIn this video, we'll explore the IEEE 754 (floating point) standard, the fight between Intel and DEC, and I'll write some demonstration C++ code that illustrates this problem even today!\n\n---\n\nTimestamps:\n\n00:00 Subnormal Arithmetic Cost\n02:25 An Accuracy Debate...\n06:28 Too small to calculate?\n08:56 IEEE 754 Standard\n10:17 Digital Audio Workstation Conundrum\n14:18 A Massive CPU Spike\n\n---\n\nFollow LaurieWired on Social Media:\n►https://linktr.ee/lauriewired\n\n---\n\nPapers Cited:\n\n\"An Interview with the Old Man of Floating-Point\":\nhttps://people.eecs.berkeley.edu/~wkahan/ieee754status/754story.html\n\nPentium 4 and Xeon Processor Optimization manual  (Chapter 5, “Optimizing for SIMD Floating-point\"):\nhttps://kib.kiev.ua/x86docs/Intel/Intel-OptimGuide/248966-004.pdf\n\n---\n\nShort demo code:\nhttps://gist.github.com/LaurieWired/3f8be4648b3e627e3fcd5607d83b405f","upload_date":"20250812","uploader_id":"UCJXa3_WNNmIpewOtCHf3B0g","webpage_url":"https://www.youtube.com/watch?v=y-NOz94ZEOA","_enriched_at":"2026-10-19T16:08:39+00:00","_meta_sources":["oembed","watch_page","ryd"],"comment_count":3393,"comments_path":"/var/www/yt.ow1.ru/data/videos/channels/LaurieWired [UCJXa3_WNNmIpewOtCHf3B0g]/20261019 - y-NOz94ZEOA/y-NOz94ZEOA.comments.json","dislike_count":370,"thumbnail_url":"https://i.ytimg.com/vi/y-NOz94ZEOA/hqdefault.jpg","average_rating":4.969301611665387,"comments_saved":400,"thumbnail_path":"thumbnails/y-NOz94ZEOA.jpg","dya_submitted_at":"2026-10-28T05:40:50+00:00","release_timestamp":"2025-08-12"},"captions":[{"label":"aen","srclang":"aen","type":"vtt","url":"https://yt.ow1.ru/captions/y-NOz94ZEOA/y-NOz94ZEOA.aen.vtt","track_url":"https://yt.ow1.ru/captions/y-NOz94ZEOA/y-NOz94ZEOA.aen.vtt"},{"label":"en","srclang":"en","type":"vtt","url":"https://yt.ow1.ru/captions/y-NOz94ZEOA/y-NOz94ZEOA.en.vtt","track_url":"https://yt.ow1.ru/captions/y-NOz94ZEOA/y-NOz94ZEOA.en.vtt"}]}