From: Peter Bex <[email protected]> Subject: Re: [Chicken-hackers] CR #1142: remove queues, mmap, evict and binary search from core libraries Date: Sun, 20 Jul 2014 13:29:44 +0200
> On Sun, Jul 20, 2014 at 01:18:37PM +0200, Felix Winkelmann wrote: >> Hello! >> >> This announces change request #1142 and proposes to remove parts of >> the core libraries into eggs. >> >> See https://bugs.call-cc.org/ticket/1142 for more details. > > Excellent! In the ticket you mention you've prepared eggs for this. > Can we preview these eggs somewhere? I can commit them to SVN, if you like. Or should I use a branch for this? > > I'm not 100% sure about removing object-evict from core, because of the > problem described by #1112; this might require core support somehow to > make the GC know which objects have been evicted. Do you have an idea > on how to make this work when eviction is moved into an egg? Well, "object-become!" might be useful here, as proposed in the ticket. Another option (for users) would be to evict into a static buffer that can not be possibly "stolen" by a heap-enlargment. But instead of making GC even more complicated as it is, I would recommend to just punt on this issue. The functionality of "object-evict"/"object-release" is very application-specific and a bit obscure and should be considered sufficient to those who want to use it. felix _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
