Re: BDW-GC-Guile incompatibilities

2009-03-01 Thread Ludovic Courtès
Hi Neil, Neil Jerram n...@ossau.uklinux.net writes: Sorry for my delay in following up here... Same for me! 1. The lack of `gc-live-object-stats'. I was actually thinking of decrementing an object type counter when an object is collected - and having looked more at the docs I see that

Re: [VM] Tail recursion and multiple values

2009-03-01 Thread Andy Wingo
Hey Ludo! On Sat 28 Feb 2009 15:45, l...@gnu.org (Ludovic Courtès) writes: l...@gnu.org (Ludovic Courtès) writes: Use of multiple values breaks tail recursion in VM-compiled code: (let loop ((x 100)) (and ( x 0) (call-with-values (lambda ()

Re: Putting an end to compiled closures

2009-03-01 Thread Ludovic Courtès
Hello! l...@gnu.org (Ludovic Courtès) writes: The attached patch creates a new type tag, `scm_tc7_gsubr', whereby the 24 MSBs are used to store gsubr arity information as returned by `SCM_GSUBR_MAKTYPE ()'. This makes cclos useless, which simplifies the code and reduces the overhead when

Re: [VM] Tail recursion and multiple values

2009-03-01 Thread Ludovic Courtès
Hello! Andy Wingo wi...@pobox.com writes: On Sat 28 Feb 2009 15:45, l...@gnu.org (Ludovic Courtès) writes: Actually no: it works with VM-compiled code, but it breaks when using Guile-VM with `,o interp #t' (which appears to be the default, except at the REPL). This is a misunderstanding.