4 ms·
Tbh, I'm also a Rust beginner and know even less about C++, so I'm sincerely trying to learn here.
by davidatbu 4y ago
Tbh, I'm also a Rust beginner and know even less about C++, so I'm sincerely trying to learn here.
- Filligree 4y agoC++ doesn’t provide any of the checks being talked about here. There’s nothing much to learn; they just don’t exist.
- davidatbu 4y agoThank you! Still waiting on you @ncmncm, if you think differently.
- ncmncm 4y agoIf you can see it at all, it will be an atomic type.
- davidatbu 4y agoI skimmed docs for std::atomic, and I believe what you're suggesting is a super-brief version of what was outlined here[0]. If so, thanks! Through I don't yet "see it" that C++ has safety primitives that "equal" that of Rust's, I've learnt a lot about C++'s safety features from other folks' replies in this thread. So again, thanks! [0] https://news.ycombinator.com/reply?id=32824168 https://news.ycombinator.com/reply?id=32824168