2 ms·
One thing I noticed when contributing to PPSSPP was now familiar the programmers were with bits. Bit shifts, masks, bitwise ands against integers, lots of 'em.
by Danieru 13y ago
One thing I noticed when contributing to PPSSPP was now familiar the programmers were with bits. Bit shifts, masks, bitwise ands against integers, lots of 'em. I saw more complex bit manipulation in the user input handling than I remember seeing in linux's task struct handling!
I don't think the programmers were showing off, just they've become familiar with bits on a level beyond normal.
Like how the linux guys are familiar with double star pointers.
On that note I would like to encourage you the reader to contribute to an emulator. They are an intertesting problem space similar to a compiler's backend, but with fewer unit tests.
- fake-name 13y agoIt's the familiarity thing, definitely. I do a lot of embedded MCU work, which involves so much bit-twiddling (all IO is through mem-mapped peripherals) that it's spilling over into other work I do. If I need to shove around a bunch of boolean flags, I'll probably use a int, because the boolean operations required to access the separate bits are basically autonomic at this point for me.