News for hackers. Stuff that matters.
Re:Rust support in the Linux kernel by randomswede on Thursday December 09, 2021 @07:13AM (#29496480)
As long as you stay away from compiler-dependent, platform-dependent, and/or undefined behaviour, you should be fine. Main problem is that a surprising ab´mount of "looks normal" code is actually UB.
Re:Rust support in the Linux kernel by einpoklum on Friday December 10, 2021 @03:46AM (#29507805)
You would be "fine", but the compiler will optimize away alot of your code, and will rearrange a lot of the rest. I wasn't even talking about platform-dependent or undefined behavior.