3 ms·
> Or you can do high level stuff thanks to well though generics and meta programming. Metaprogramming is also surprisingly useful for low-level, embedded progr
by auxym 5y ago
> Or you can do high level stuff thanks to well though generics and meta programming.
Metaprogramming is also surprisingly useful for low-level, embedded programming. Eg, using compile-time logic (branching, looping) to decide which bit in which register you want to twiddle, instead of doing it at runtime, which saves computation and (sometimes) code size.