News for hackers. Stuff that matters.
Re:Comp.lang.c Frequently Asked Questions by jbboehr on Tuesday September 14, 2021 @04:43AM (#28521948)
> And of course we have bit packing when we need to pack more efficiently than reasonable; bit-packing with *int_fast8_t* allows you to represent "I need this to take exactly 8 bits of memory, whatever it costs compute-wise, because I'm basically filling memory with these."

AFAICT, "int_fast8_t" is generally typedef to "int", and "int_least8_t" is generally typedef to "char", which conflicts with "I need this to take exactly 8 bits of memory, whatever it costs compute-wise, because I'm basically filling memory with these."

Re:Comp.lang.c Frequently Asked Questions by addaon on Tuesday September 14, 2021 @05:18PM (#28531418)
Right. The context here is when combined with bit-packing, i.e. `int_fast8_t : 8` vs `int_least8_t : 8` in a struct or similar.