Walter Bright, el 15 de marzo a las 16:57 me escribiste: > 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.
Well, you know that avoiding the GC in D is not particularly easy, as there are so many hidden allocations... -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Bald men with no jobs and no money who live with their parents don't approach strange women. -- George Constanza _______________________________________________ dmd-internals mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-internals
