6 ms·
> Rust doesn't handle out-of-memory conditions well. Do you happen to know languages that do handle out of memory conditions well? That seems like an interest
by kbenson 9y ago
> Rust doesn't handle out-of-memory conditions well.
Do you happen to know languages that do handle out of memory conditions well? That seems like an interesting topic. If I understand how it's done in C, I wouldn't call that "well", but it does provide the mechanisms for doing it (which is more than can be said for all languages). Language level features (or coding styles in C that could be implemented at a language level elsewhere) that provide for increased and intuitive control would be interesting.
- Animats 9y agoAda is one of the few languages that takes out-of-memory conditions seriously. The exception Storage_Error is raised. Java, C# and Microsoft's common runtime have out-of-memory exceptions, but I'm not sure how reliable they are in a limited-memory environment. They're more like "GC isn't helping much" exceptions.