Re: [Chicken-users] doto macro

2010-08-05 Thread Felix
From: Martin DeMello Subject: [Chicken-users] doto macro Date: Thu, 5 Aug 2010 01:37:06 +0530 > I stole the doto macro from clojure. Quite useful for GUI code in > particular. It might make a nice addition to miscmacros too. > > (define-syntax doto > (lambda (f r c) > (let [(s (cadr f)) >

Re: [Chicken-users] Disable garbage collection

2010-08-05 Thread Felix
From: sch...@uni-potsdam.de Subject: [Chicken-users] Disable garbage collection Date: Wed, 04 Aug 2010 21:40:36 +0200 > Hi, > > is there a way to disable and enable garbage collection at runtime? > No, disabling GC would disable procedure calls (since continuation-frames are heap-allocated). Yo

Re: [Chicken-users] Disable garbage collection

2010-08-05 Thread John Cowan
On Thu, Aug 5, 2010 at 4:31 AM, Felix wrote: > No, disabling GC would disable procedure calls (since continuation-frames > are heap-allocated). You can reduce "major" GCs (which usually take longest) > by either using a large initial heap (for example by using the "-:h..." > runtime parameter) an

Re: [Chicken-users] doto macro

2010-08-05 Thread F. Wittenberger
Am Donnerstag, den 05.08.2010, 04:27 -0400 schrieb Felix: > Now, this is nice indeed. Thanks! Agreed. But in a way I feel it would more chickenish if those nice-to-have-things where in an egg, not the core system. /Jerry ___ Chicken-users mailing lis

Re: [Chicken-users] doto macro

2010-08-05 Thread Mario Domenech Goulart
Hi Jörg On Thu, 05 Aug 2010 20:48:44 +0200 Jörg "F. Wittenberger" wrote: > Am Donnerstag, den 05.08.2010, 04:27 -0400 schrieb Felix: >> Now, this is nice indeed. Thanks! > > Agreed. But in a way I feel it would more chickenish if those > nice-to-have-things where in an egg, not the core system

Re: [Chicken-users] Disable garbage collection

2010-08-05 Thread Nicolas Pelletier
On Fri, Aug 6, 2010 at 12:54 AM, John Cowan wrote: > I suppose you could have a startup option which disables major GCs and > allocates one big space, and then kills the program while it runs out. You can compile with -heap-size XXX, which will produce an executable using a fixed amount of heap a