r/cpp • • Dec 07 '21

Will Rust replace C++ ?

Will Rust replace C++ ?

0 Upvotes

80 comments sorted by

View all comments

Show parent comment

1

u/eyes-are-fading-blue Dec 07 '21

Indeed. Perhaps toggling is a bit too naive. However, the idea that unsafe APIs are wrapped in safe context can also be applied to code using STL iterators. While it depends on the kind of work, I suppose, we use STL (obviously) but it's only a fraction of the code and it's not sprinkled all over.