20 ms·
> they should have used bitcast from the start. There are hundreds of instances of (char)0=0; in github, and there are none of the bit_cast variant, so if your
by jeffbee 3y ago
> they should have used bitcast from the start.
There are hundreds of instances of (char)0=0; in github, and there are none of the bit_cast variant, so if your goal is to inform people how to read code, starting with the one humans might actually encounter in the wild makes sense.
- sargstuff 3y agoMost assembler instructions are bit manipulations. just use gcc -S to cast the source code to bits.