Re: plugged a memleak

2012-03-21 Thread Ludovic Courtès
Hi! Andy Wingo skribis: > I just fixed a long-standing memory leak in Guile 2.0. (I say that like > I'm proud or something, but of course I was the one the introduced it in > the first place!) Excellent! > See c05805a4ea764dec5a0559edefcdfb9761191d07 in stable-2.0 for the > gnarly details. T

Re: Trouble using (current-filename)

2012-03-21 Thread Ludovic Courtès
Hi, Andy Wingo skribis: > On Thu 15 Mar 2012 17:41, l...@gnu.org (Ludovic Courtès) writes: > >> So if my recollection is correct, the ‘canonicalize-path’ call in >> ‘current-filename’, which was controversial, can now be removed. >> >> Andy: WDYT? > > Well it's not what I wanted, but I don't car

Re: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.5-68-gdab48cc

2012-03-21 Thread Ludovic Courtès
Hi, Andy Wingo skribis: > That's the mechanism. But we should talk policy. This should probably > not emit a warning: > > (begin > (define _ gettext) > (format #t (_ "foo"))) > > And this should: > > (begin > (define _ not-gettext) > (format #t (_ "foo"))) > > But the probl

Re: wip-threads-and-fork

2012-03-21 Thread Ludovic Courtès
Hello! (With delay...) Andy Wingo skribis: > I would have preferred this, but I came to the conclusion that this > approach is not sound. Without exposing ‘pthread_atfork’, how would you suggest making user code “fork-safe”? A use case would be reviving the futures thread pool after ‘fork’.

guile-unify -> guile-log

2012-03-21 Thread Stefan Israelsson Tampe
Hi, If you wondered about the results of my endavour with logic programming for guile I finally made a repo that is self containd and does not mode guile (HORROR STORIES HERE) Anyway here is the link for the repo at gitorius, https://gitorious.org/gule-log/guile-log I just added a small repo wi

Re: [PATCH] primitive resolution for public refs

2012-03-21 Thread Ludovic Courtès
Hi BT, The patch doesn’t apply currently on stable-2.0. Could you send an updated one, or apply it yourself? Thanks, Ludo’.

Re: guile-unify -> guile-log

2012-03-21 Thread Noah Lavine
This is very cool. Thank you for telling us about it! On Wed, Mar 21, 2012 at 5:58 PM, Stefan Israelsson Tampe wrote: > Hi, > > If you wondered about the results of my endavour with logic programming for > guile I > finally made a repo that is self containd and does not mode guile (HORROR > STORI

Re: plugged a memleak

2012-03-21 Thread Andy Wingo
On Wed 21 Mar 2012 22:02, l...@gnu.org (Ludovic Courtès) writes: >> See c05805a4ea764dec5a0559edefcdfb9761191d07 in stable-2.0 for the >> gnarly details. The summary is that applicable smobs were being leaked, >> because they were referenced in the values of weak-key tables. > > I was wondering w

Comments on ‘wip-nio’

2012-03-21 Thread Ludovic Courtès
Hello, I had a quick look at ‘wip-nio’, and here are initial comments. • epoll is Linux-specific. Any idea how a more multi-platform API could be provided? I guess libevent could be used, but we don’t want to add one more dependency in 2.0. How much is (ice-9 nio) dependent on ep

Re: Comments on ‘wip-nio’

2012-03-21 Thread Nala Ginrut
On Thu, Mar 22, 2012 at 6:39 AM, Ludovic Courtès wrote: > Hello, > > I had a quick look at ‘wip-nio’, and here are initial comments. > > • epoll is Linux-specific. Any idea how a more multi-platform API >could be provided? I guess libevent could be used, but we don’t >want to add one m

Re: wip-threads-and-fork

2012-03-21 Thread Nala Ginrut
On Thu, Mar 22, 2012 at 5:26 AM, Ludovic Courtès wrote: > Hello! > > (With delay...) > > Andy Wingo skribis: > > > I would have preferred this, but I came to the conclusion that this > > approach is not sound. > > Without exposing ‘pthread_atfork’, how would you suggest making user > code “fork-