3 ms·
"where the C++ pieces can all recover from OOM and the Rust component cannot" I would like to read about their successful test of their C++ pieces using the sa
by tialaramex 5y ago
"where the C++ pieces can all recover from OOM and the Rust component cannot"
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.
- the_mitsuhiko 5y agoHandling allocation failures on the STL is also only possible with exceptions.
- oconnor663 5y agoI think I know the talk you're referring to. This is a great one: https://youtu.be/ARYP83yNAWk?t=56m56s https://youtu.be/ARYP83yNAWk?t=56m56s