Reply to post: Re: False

Rusty Linux kernel draws closer with new patch adding support for Rust as second language

Ken Hagan Gold badge

Re: False

And a Rust compiler won't stop you assigning values to the wrong variable. So what? No language is going to completely absolve you of the need to get things right. Both C++ and Rust are capable of expressing unsafe code, but it's clear in the source if you do and it is not the default for anyone competent in either language.

When you say "disciplined use" you make it sound like it is hard. It isn't. You use smart pointers to hold resources. If you see a dumb pointer holding a resource, you know it is a bug.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2022