Re:Blech Programming Language
by Athas on Friday September 18, 2020 @09:17AM
(#24516348)
There is no guarantee that the hardware supports 8-bit numbers natively, and emulating them might be expensive. For embedded programming, it is sometimes useful to ask for a type that is at least 8 bits, but may be bigger.
[ Parent
| on HN ]
That’s what int_least8_t or int_fast8_t are for
You can choose to use int_least_8_t or int_fast8_t as the implementation type blc_int8 of Blech type int8 for code generation https://github.com/boschresearch/blech/blob/master/src/blech...
So you can adopt to your needs on your platform.