3 ms·
Javascript? j/k Duff's Device comes close. It was born out of a real engineering problem, but spread as esoterica and I'm sure I'm far from the only one to lea
by SonOfLilit 10y ago
Javascript? j/k
Duff's Device comes close. It was born out of a real engineering problem, but spread as esoterica and I'm sure I'm far from the only one to learn it as esoterica and later use it in production.
- taneq 10y agoIf you're going to list Duff's Device, we should also mention Carmack's fast square root (despite it not actually being invented by Carmack). I dunno if you'd call it mainstream but for a while there it was in every wannabe game engine coder's repertoire.
- qwertyuiop924 10y agoYeah, you should really call it SGI's FastInvSqrt. It's still a pretty cool hack.