Remix.run Logo
germandiago an hour ago

Little by little, Rust, like D, acknowledges that C++ flexibility regarding object construction, copy and move, even if too much as a default, is sometimes needed :)

I saw in D years ago how they also checked into this flexibility after getting some use cases for it (in this case, copying): https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1...

orlp 35 minutes ago | parent [-]

This is the opposite, it is further opting out of flexibility.

a minute ago | parent | next [-]
[deleted]
eqvinox 6 minutes ago | parent | prev [-]

I guess the point is that the concepts are needed, which is true. But the Rust way (more explicit and targeted) of dealing with these concepts seems better than how either C++ or D handle it.