| ▲ | warmwaffles 3 hours ago |
| I remember `defer` being up for consideration for the last consortium but it got yanked. Lambdas would definitely be nice to have. |
|
| ▲ | glouwbug 3 hours ago | parent [-] |
| Seems like its in C29, but who knows. I've waited since 2009 for just about anything |
| |
| ▲ | warmwaffles 3 hours ago | parent [-] | | C29 is shaping up to be some quality of life changes. And it looks like clang has a lot of it implemented already. GCC seems to be implementing some of them. `countof(thing)` seems handy so I don't have to define some constant and use them in both places. | | |
| ▲ | glouwbug 2 hours ago | parent | next [-] | | Not having to write #define len(x) sizeof(x) / sizeof(*x)
Is arguably the feature I've waited for for 20 years | |
| ▲ | uecker 2 hours ago | parent | prev [-] | | GCC is usually ahead in terms of new C features. |
|
|