u/TheKiller36_realin r/C_Programming • Recommends
On “How would you improve C if you could ignore legacy concerns?”
- <your examples>
- meta programming
- `constexpr` functions
- basically all of the standard library
- remove `errno` side-effects etc.
- make `inline` equivalent to / more like C++ `inline`
- define `char` to have 8 bits
- signed integers are two's complement
- rework of bit-fields
- remove strict aliasing rules and allow for easier type-punning
- standardize more attributes
- vector facilities (e.g. std-lib equivalents to Intel intrinsics)
probably more but this came to mind first