snthsnth·10 lat temu·discussThings I'd like to seestatic lifetime compound literals. I don't see any reason not to be able to get the same effect as string literals for other types like:return (static int const []){1, 2, 3};Disallowing branch-predicted values for relaxed atomic operations. I think c++ did this and it seems the sane way to go.Binary literals and binary printf format specifier. It would just occasionally be nice compared to hex.countof macro for arrays. I don't even care if it checked for non-array type errors, it would just be nice for it to be standard.Statement expressions and function literals would be nice, but I don't feel strongly about it.
static lifetime compound literals. I don't see any reason not to be able to get the same effect as string literals for other types like:
return (static int const []){1, 2, 3};
Disallowing branch-predicted values for relaxed atomic operations. I think c++ did this and it seems the sane way to go.
Binary literals and binary printf format specifier. It would just occasionally be nice compared to hex.
countof macro for arrays. I don't even care if it checked for non-array type errors, it would just be nice for it to be standard.
Statement expressions and function literals would be nice, but I don't feel strongly about it.