Ask HN: Why some languages use 1 byte for boolean type

Some programming languages like D use 8 bits for their boolean type, why they don't use 1 bit ? Comments URL: https://news.ycombinator.com/item?id=43421815 Points: 5 # Comments: 14

Mar 20, 2025 - 13:35
 0
Ask HN: Why some languages use 1 byte for boolean type

Some programming languages like D use 8 bits for their boolean type, why they don't use 1 bit ?


Comments URL: https://news.ycombinator.com/item?id=43421815

Points: 5

# Comments: 14