2 ms·
> the fact that most Rust developers are of the belief that malloc failure is not recoverable This is untrue. The true statement is similar, but has different
by Manishearth 10y ago
> the fact that most Rust developers are of the belief that malloc failure is not recoverable
This is untrue. The true statement is similar, but has different implications -- malloc failure is usually not recoverable, and nonrecoverable malloc failure should be the default, for the problem space Rust targets (which encompasses more than low-level things). You can recover from malloc in Rust, it just requires some extra work.