4 ms·
Pretty cool. I'll have to come back to this But can't someone just ask merry kitty where they got the idea from?
by tayo42 3y ago
Pretty cool. I'll have to come back to this
But can't someone just ask merry kitty where they got the idea from?
- Terretta 3y agoNot saying the idea came from this, but if you were coding in late 70s to mid 80s, you may well have written lots of code using these techniques because 6502 assembly was fun and manageable enough to just write your software in it, especially if you had a Beagle Bros book at hand.
- qingcharles 3y agoAnyone who coded in the demoscene too was writing oodles of weird bit-twiddling guff like this, from experience...
- mihaic 3y agoI think something like this was a lot more common knowledge around 20 years ago, and now seems like mystic arts. It just takes a mindset of thinking that everything is bytes and binary, and after you've seen a couple SWAR snippets of stuff like popcount or first significant bit you're able do it these inferences yourself.