Re: advice on reducing C stack frame size?

2008-09-15 Thread Ken Raeburn
On Sep 13, 2008, at 12:56, Andy Wingo wrote: So for example, just sitting at the repl, we have: [...] #27 0x0014e99b in scm_apply (proc=0xb7f0d718, arg1=0x404, args=0x404) at eval.i.c:1656 1656 return scm_dapply (proc, arg1, args); (gdb) #28 0x001c48fc in vm_run (vm=0xb7f1ff58

call-with-values compilation!

2008-09-15 Thread Andy Wingo
Hello! Check this: scheme@(guile-user)> ,x (lambda () (call-with-values (lambda () (values 2 3)) *)) Disassembly of #: nargs = 0 nrest = 0 nlocs = 0 nexts = 0 Bytecode: 0(late-variable-ref 0) 2(object-ref 1) ;; # 4(mv-call 0

array handles and non-local exits

2008-09-15 Thread Neil Jerram
2008/9/15 Ludovic Courtès <[EMAIL PROTECTED]>: > > "Neil Jerram" <[EMAIL PROTECTED]> writes: > >> Now, as it happens, the code doesn't actually implement what the >> manual says, and in fact scm_array_handle_release() is currently a >> no-op! But I believe the manual's intention is sensible, so it

Re: [PATCH] Add a `read' method for ports

2008-09-15 Thread Ludovic Courtès
Hi Neil, "Neil Jerram" <[EMAIL PROTECTED]> writes: > OK, I've committed this now, with... Thanks! Ludo'.

Re: [PATCH] Add a `read' method for ports

2008-09-15 Thread Neil Jerram
2008/9/15 Ludovic Courtès <[EMAIL PROTECTED]>: > Hi Neil, > > "Neil Jerram" <[EMAIL PROTECTED]> writes: > >> Hopefully nearly finishing this off now...! > > Great, thanks! OK, I've committed this now, with... +struct port_and_swap_buffer { >>> >>> Please follow the GNU style. :-) >> >> Well

Re: [PATCH] Add a `read' method for ports

2008-09-15 Thread Ludovic Courtès
ILMU DUIT RM1000 MASUK TERUS KE AKAUN BANK ANDA SETIAP HARI... Pelik tapi benar,tapi ini semua kenyataan,, Sedikit usaha dan ketekunan anda menghantar email setiap hari.. mampu berjaya membawa pulangan lumayan.. siapa sangka..anda akan menjadi jutawan internet. Untuk memudahkan anda faham, sila bac

Re: [PATCH] Add a `read' method for ports

2008-09-15 Thread Ludovic Courtès
On Mon, Sep 15, 2008 at 01:23:39PM +0800, Wilkinson, Alex wrote: > 0n Sun, Sep 14, 2008 at 09:28:28PM -0700, Jeremy Chadwick wrote: > > >On Mon, Sep 15, 2008 at 10:37:18AM +0800, Wilkinson, Alex wrote: > >> 0n Fri, Sep 12, 2008 at 09:32:07AM -0700, Jeremy Chadwick wrote: > >>