▲ 170 ▼ 'Rust makes coding fun again': Why Linux is moving away from C, according to Greg Kroah-Hartman (www.zdnet.com) submitted 1 month ago by HaraldvonBlauzahn@feddit.org to c/linux@lemmy.ml 99 comments fedilink hide all child comments
[–] fruitcantfly@programming.dev 2 points 1 month ago* (1 child) Rust has no Undefined Behaviour. That is simply not true. See here for a list of behavior that is considered undefined in Rust: https://doc.rust-lang.org/reference/behavior-considered-undefined.html However, most (all?) of these require the use of unsafe, which helps narrow down where the problem might be, if you trigger any of this behavior permalink fedilink source parent hideshow 2 child comments replies: [–] HaraldvonBlauzahn@feddit.org [S] 3 points 1 month ago* (last edited 1 month ago) That is simply not true. Yeah that is correct. I was thinking in Safe Rust alone, and actually forgot about Unsafe Rust. Because I have so far almost never used Unsafe Rust, except for C library bindings. permalink fedilink source parent
[–] HaraldvonBlauzahn@feddit.org [S] 3 points 1 month ago* (last edited 1 month ago) That is simply not true. Yeah that is correct. I was thinking in Safe Rust alone, and actually forgot about Unsafe Rust. Because I have so far almost never used Unsafe Rust, except for C library bindings. permalink fedilink source parent