3 ms·
It's nowhere near a C++ subset. The way it works under the hood is quite different, and even trying to add some of the underlying mechanisms to C++ (such as wha
by zozbot234 1y ago
It's nowhere near a C++ subset. The way it works under the hood is quite different, and even trying to add some of the underlying mechanisms to C++ (such as what they call "trivially relocatable types", or "destructing moves") has been quite difficult.
- sesm 1y agoActually, we already discussed Rust move semantics on this website some time ago: https://news.ycombinator.com/item?id=43059293 https://news.ycombinator.com/item?id=43059293 And again, the best way to explain this is by comparison to C++