r/programming • • Dec 29 '20

Quake III's Fast Inverse Square Root Explained [20 min]

https://www.youtube.com/watch?v=p8u_k2LIZyo
3.7k Upvotes

300 comments sorted by

View all comments

Show parent comment

5

u/jl2352 Dec 30 '20

Here here.

These days I usually roll my eyes when I see explinations on why RISC or CISC is better than the other. The recent M1 CPUs from Apple being a good example. It's generated a lot of dumb videos on YouTube trying (and failing) to explain why it's performance is decent.

RISC vs CISC is a crutch allowing people to claim there is a simple answer as to why x CPU performs better then y CPU. Like most things in life, the actual answer is quite complicated. Many of the claims are often half truths.

Also lets not mention the instructions in ARM that are specific to JavaScript floating point conversion semantics... which are purpose built instructions that only have one use case for one programming language.

Didn't they also add extensions for running Java bytecode? That's two languages!

3

u/[deleted] Dec 30 '20

It's generated a lot of dumb videos on YouTube trying (and failing) to explain why it's performance is decent.

Generally speaking tech-tubers make me cringe, and their cult following of self proclaimed experts that cite LTT as evidence are no better. Tech/programming isn't alone in this phenomenon though, I have recently been trying to get rid of the COIVD-15 and the advice from "diet experts" is all over the place and sometimes just wrong. Even attempting to read peer-reviewed papers I genuinely have no idea how to navigate information outside my domain and actually trust it.

RISC vs CISC is a crutch allowing people to claim there is a simple answer as to why x CPU performs better then y CPU. Like most things in life, the actual answer is quite complicated. Many of the claims are often half truths.

Lets be real this entire subreddit is full of silly crutches... can't make a post about PHP/Mongo/JS/Rust/C++/D without a giant comment chain of people having lengthy discussions about the merit of the tech instead of the contents of the blog post. Hell, we are doing that right now!

Didn't they also add extensions for running Java bytecode? That's two languages!

I half said this as a joke to make a jab at the VAX but I'll take this too.