Reply to post: Re: Hummmmm

Rust in peace: Memory bugs in C and C++ code cause security issues so Microsoft is considering alternatives once again

DrXym Silver badge

Re: Hummmmm

Rust really isn't hard to learn if you know C/C++. The syntax and structure is C-like and from a complexitiy stand point the language sits somewhere between C and C++ - it doesn't have classes, it has structs with function bindings.

The biggest thing you'll have to get used to is the compiler will force you to write safe code. C/C++ compilers really don't care if your code is safe whereas Rust will check every lifetime and make sure that it is. Fortunately it tends to have friendly / helpful errors but it can still be frustrating at the start.

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

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2019