On 3/15/2012 2:22 PM, Leandro Lucarella wrote:
Walter Bright, el 14 de marzo a las 16:45 me escribiste:
OutOfMemory is deliberately made not recoverable, as I've almost
never seen any application that can successfully recover from it.
Making it non-recoverable also means that pure functions can
allocate memory.
Really? It seems that you never worked in a memory constrained system.
There are applications that *really* need to take care about this.

Even you say *almost*, so I guess you actually acknowledge their
existence. If you go this route, please know that you'll make
D a language not suitable for this king of applications.


If the memory constrained systems are that tight, they won't be able to use the GC anyway - they'll have to use malloc(), and what to do on malloc() failures is entirely up to the programmer.
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to