Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Actually, we already discussed Rust move semantics on this website some time ago: https://news.ycombinator.com/item?id=43059293

And again, the best way to explain this is by comparison to C++




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: