3 ms·
Counterpoint, when you write C++ you need to think about borrowing without the compiler telling you when you're making a mistake. Rust in that sense is easier t
by carlmr 7y ago
Counterpoint, when you write C++ you need to think about borrowing without the compiler telling you when you're making a mistake. Rust in that sense is easier than C++.
- pjmlp 7y agoOnly if you are not using a recent version of clang or VC++. CppCon 2019: “Lifetime analysis for everyone” https://www.youtube.com/watch?v=d67kfSnhbpA https://www.youtube.com/watch?v=d67kfSnhbpA It is available to play on Godbolt.