6 ms·
One guess: memory leaks from circular references. It’s ref counting, and doesn’t do roots checking.
by diarrhea 3y ago
One guess: memory leaks from circular references. It’s ref counting, and doesn’t do roots checking.
- galangalalgol 3y agoYeah, you can definitely do that. Typically rust features are trying to prevent undefined behavior, specifically exploitable undefined behavior. In doing so there is low hanging fruit for increasing the likelihood correctness but I don't feel like "correctness at any cost" is its motto. That is more Ada territory. Deadlocks and memory leaks can sometimes be exploited for denial of service, but they are not undefined behavior.