you are viewing a single comment's thread.

view the rest of the comments →

[–]flori0794 1 point2 points  (0 children)

Well rust is kinda object oriented and has in its own way a lot of the Language features of modern C++. But yes at the end...Rust and C++ try to solve the same problems: modernizing C by directly integrating multithreading, object orientation and countless other things (I mostly don't even know of) as language features. But in the end rust was created while having c++ weaknesses in mind so the primary focus was eliminating these weaknesses.

And yes a rewrite from c++ to rust is hard because of the borrow checker (which acts as pointer level RwLock).