macro are not const
macro are not const
Posted Oct 10, 2024 8:08 UTC (Thu) by taladar (subscriber, #68407)In reply to: macro are not const by milesrout
Parent article: Improving bindgen for the kernel
Which new features in C23 cause you so much worry anyway, most of the changes seem quite small judging by the feature overview on Wikipedia.
Posted Oct 10, 2024 10:12 UTC (Thu)
by tialaramex (subscriber, #21167)
[Link]
But I'm not aware of any complaints about Rust, WG21 cares what WG14 standardises because it's awkward to pretend that C++ is somehow a "superset" of a language which has instead evolved in different ways. They would prefer WG14 to take care of all the awkward low level problems they don't care about, treating it as a junior partner which is not appreciated. But Rust doesn't care about C at all and especially about the ISO document. To the extent Rust interfaces with C it's via the implementations for ABI reasons. The ISO standard may say A and B are different, but if in practice they're the same on every real platform, Rust needs to know that.
macro are not const