▲ 1094 ▼ Solutions? Where we're going, we don't need solutions. (lemmy.world) submitted 2 years ago by renzev@lemmy.world to c/programmerhumor@lemmy.ml 204 comments fedilink hide all child comments Please dont take this seriously guys its just a dumb meme I haven't written a single line of code in half of these languages
[–] sheepishly@kbin.social 37 points 2 years ago (1 child) Real fast inverse square root algorithm hours permalink fedilink source parent hideshow 2 child comments replies: [–] PlexSheep@feddit.de 18 points 2 years ago (2 children) That one is not that complicated if you don't think about the math. It's basically just if we interpret the float as int and add a magic number we have a good estimation. From what I remember at least, it's been a little while since I implemented it. permalink fedilink source parent hideshow 4 child comments replies: [–] mindbleach@sh.itjust.works 11 points 2 years ago (1 child) IIRC also relying on how floating-point is basically scientific notation and the most-significant bits are the exponent. And most importantly, relying on how a sloppy answer works just fine. The most important skill in game development is cheating. permalink fedilink source parent hideshow 2 child comments replies: [–] sheepishly@kbin.social 6 points 2 years ago The most important skill in game development is cheating. Makes me feel better about my own game dev attempts lmao. permalink fedilink source parent [–] sheepishly@kbin.social 8 points 2 years ago I was more thinking of the comments which are pretty much exactly what you said ("incomprehensible bit hacks" followed by "what the FUCK?") permalink fedilink source parent
[–] PlexSheep@feddit.de 18 points 2 years ago (2 children) That one is not that complicated if you don't think about the math. It's basically just if we interpret the float as int and add a magic number we have a good estimation. From what I remember at least, it's been a little while since I implemented it. permalink fedilink source parent hideshow 4 child comments replies: [–] mindbleach@sh.itjust.works 11 points 2 years ago (1 child) IIRC also relying on how floating-point is basically scientific notation and the most-significant bits are the exponent. And most importantly, relying on how a sloppy answer works just fine. The most important skill in game development is cheating. permalink fedilink source parent hideshow 2 child comments replies: [–] sheepishly@kbin.social 6 points 2 years ago The most important skill in game development is cheating. Makes me feel better about my own game dev attempts lmao. permalink fedilink source parent [–] sheepishly@kbin.social 8 points 2 years ago I was more thinking of the comments which are pretty much exactly what you said ("incomprehensible bit hacks" followed by "what the FUCK?") permalink fedilink source parent
[–] mindbleach@sh.itjust.works 11 points 2 years ago (1 child) IIRC also relying on how floating-point is basically scientific notation and the most-significant bits are the exponent. And most importantly, relying on how a sloppy answer works just fine. The most important skill in game development is cheating. permalink fedilink source parent hideshow 2 child comments replies: [–] sheepishly@kbin.social 6 points 2 years ago The most important skill in game development is cheating. Makes me feel better about my own game dev attempts lmao. permalink fedilink source parent
[–] sheepishly@kbin.social 6 points 2 years ago The most important skill in game development is cheating. Makes me feel better about my own game dev attempts lmao. permalink fedilink source parent
[–] sheepishly@kbin.social 8 points 2 years ago I was more thinking of the comments which are pretty much exactly what you said ("incomprehensible bit hacks" followed by "what the FUCK?") permalink fedilink source parent