Elektrine lite

← Feed

@waldi@chaos.social

Post #2639716

2025-05-16 06:26 UTC

@mirabilos@toot.mirbsd.org @ela@infosec.exchange Ah, because _Bool is defined as 8bit value where only bit 0 matters, bits 1 to 7 are set to 0 and 8 to 63 are undefined.

Replies (1)

  • @mirabilos@toot.mirbsd.org 2025-05-16 06:29

    @waldi@chaos.social @ela@infosec.exchange except for actual storage (where one bit would be better in structs for example), blowing it up to the full 32 bits would reduce the number of instructions executed overall in typical programs (and incidentally even the code size)

    Open ##2639717