Conversation

Replying to and
Asking for pure curiosity. In C++ i guess he refers to implicit allocations done by copy operators etc. Which are not random but they could be hard to spot. Rust isn’t that bad in that aspect, with more explicit semantics for what is copied or moved. The only exception is drop
1
Unlike C, Rust has standard support for using it as a freestanding language and with a low-level subset of the standard library. The language fully supports implementing the allocation APIs via the kernel allocators and only providing the variants of those APIs not using panic.
1
1
Show replies