News for hackers. Stuff that matters.
Re:Show HN: A pure C89 implementation of Go channels, with b... by Xeamek on Wednesday December 13, 2023 @06:17PM (#38635598)
What about size of stored bool variable? Just using int will take 4 bytes (Or something else, but still bigger then 1), while stdbool will only use 1 byte, no?
Re:Show HN: A pure C89 implementation of Go channels, with b... by kazinator on Wednesday December 13, 2023 @06:37PM (#38635785)
In arrays, you can use char. In structs, there are also bitfields like unsigned flag : 1.