132 points by todsacerdoti 2 days ago | 38 comments | View on ycombinator
bheadmaster 2 days ago |
staticassertion 2 days ago |
The thing is, it'll be far less challenging for the Rust code, which will actually define the ordering semantics explicitly. That's the point of rejecting the READ_ONCE/WRITE_ONCE approach - it's unclear what the goal is when using those, what guarantee you actually want.
I suspect that if Rust continues forward with this approach it will basically end up as the code where someone goes to read the actual semantics to determine what the C code should do.
gpderetta 2 days ago |
Does rust have or need the equivalent of std::memory_order_consume? Famously this was deemed unimplementable in C++.
chrismsimpson 2 days ago |
Not knowing anything about development of the kernel, does this kind of thing create a two tier Linux development experience?
undefined 1 day ago |
epolanski 2 days ago |
alilleybrinker 1 day ago |
[1]: https://www.alilleybrinker.com/mini/rusts-culture-of-semanti...