REVEALED: Quake III's SECRET Algorithm!
When the Quake III Arena source code was released to the world it contained a previously unknown algorithm called the Fast Inverse Square Root. This is the story of this strange algorithm and how it works as told by retired Microsoft software engineer Dave Plummer. Thanks to viewer Brandon Pinske for the video topic suggestion! For more info on the FISR: A great video with better math explanations: • Fast Inverse Square Root — A Quake III Alg... A surprisingly complete and detailed Wikipedia article: https://en.wikipedia.org/wiki/Fast_in... Amazon Affiliate links for products mentioned in the video: Zen of Code Optimization - https://amzn.to/2VO7ltx Zen of Graphics Programming - https://amzn.to/3AxTAh9 Zen of Assembly [Out of Print] - https://amzn.to/2VD7Arn Chapter Markers: 00:00 The Story 02:10 Welcome 03:25 Vectors 04:30 Normalization 05:48 Pythagoras Redux 07:50 Behold Code 09:10 Roots and Floats 10:21 Newton, Approximately 11:14 Rate of Change 13:02 C++ Code 14:15 Gates and Allen 15:04 Outtakes and Rarities Errata: Please let me know in the comments of any important errors or omissions, and I will update things here. Currently, the only major update is at the end - I leave you with the impression that IEEE-754 might have been based on MBF, but I don't think that's the case. I will expand on this in Part 2, but recommend these two links for the curious: • "The IEEE Standard 754: One for the History Books," https://www.computer.org/csdl/magazin... • "An Interview with the Old Man of Floating-Point," http://people.eecs.berkeley.edu/~wkah...

REVEALED: The Quake III Secret Algorithm! Part 2

HACKED! How a Buffer Overflow Exploit works, plus Code Red!

Why 1999 Quake 3 Netcode Belongs in Every CS Degree

RollerCoaster Tycoon Optimizations are Insane

How Quake II's BFG10K Works

BSP Trees: The Magic Behind Collision Detection in Quake

I Tried Coding my own Graphics Library

Faster than Rust and C++: the PERFECT hash table

Microsoft's Secret 90s Weapon That Made Windows Fast

Why does every mammal get 1 billion heartbeats in their life?

Once You Understand it, You Will Think Everything Else is Silly - Toyota E-CVT

E01: What is the FASTEST Computer Language? 45 Languages Tested!

So I Reviewed the DOOM 3 Source Code..

Don't Hang Up On AI Scammers. Do THIS Instead.

Forbidden C++

How Small Can a Video Game Actually Be?

CANBUS – Networking so simple, even YOU can understand it!

I Wrote a Floppy Disk Filesystem to Beat Factorio.

Larry Johnson: Russia's Naval Blockade of Odessa & Ukraine's Attack on Iranian Ship

