Re:Dealing with Out-of-Memory Conditions in Rust
by oconnor663 on Saturday August 14, 2021 @10:01AM
(#28180701)
I think I know the talk you're referring to. This is a great one: https://youtu.be/ARYP83yNAWk?t=56m56s
Re:Dealing with Out-of-Memory Conditions in Rust
by the_mitsuhiko on Saturday August 14, 2021 @07:36AM
(#28179851)
Handling allocation failures on the STL is also only possible with exceptions.
I would like to read about their successful test of their C++ pieces using the same (random fail small allocations) strategy. My impression from Herb Sutter is that on the popular C++ Standard Library implementations (for MSVC, Clang, GCC) this actually doesn't work, but of course Herb has a reason to say that - so it'd be interesting to hear from somebody who has a reason to believe the opposite.