bug#24357: pure guile program leaks memory

2016-09-03 Thread Amirouche Boubekki
Using guile 2.1.3, I have a program that: - reads urls from a text file - download the urls using curl command via popen - output the result to stdout Also, it relies on n-for-each-par-map for ice-9 threads. IMO, the most suspicious is the definition of the `curl' proc: (define (curl url)

bug#15228: making open-process public

2016-09-03 Thread Amirouche Boubekki
Wingo wrote: We could just expose `open-process' from (ice-9 popen) to start with. AFAIK, that's what Mark wants. Here is an example use of `open-process' to wrap `html2text': (use-modules (ice-9 popen)) (define open-process (@@ (ice-9 popen) open-process)) (define (html2text str

bug#24357: pure guile program leaks memory

2016-09-03 Thread Andy Wingo
On Sat 03 Sep 2016 09:20, Amirouche Boubekki writes: > Using guile 2.1.3, I have a program that: > > - reads urls from a text file > - download the urls using curl command via popen > - output the result to stdout > > Also, it relies on n-for-each-par-map for ice-9 threads. Can you reduce it ple

bug#24357: pure guile program leaks memory

2016-09-03 Thread Amirouche Boubekki
On 2016-09-03 11:54, Andy Wingo wrote: On Sat 03 Sep 2016 09:20, Amirouche Boubekki writes: Using guile 2.1.3, I have a program that: - reads urls from a text file - download the urls using curl command via popen - output the result to stdout Also, it relies on n-for-each-par-map for ice-9

bug#24363: Clarify the VM docs

2016-09-03 Thread Wilfred Hughes
The docs currently state: > The easiest (and most fun) way to depend on a virtual machine is to implement the virtual machine within Guile itself. This way the virtual machine provides what Scheme needs (tail calls, multiple values, call/cc) and can provide optimized inline instructions for Guile

bug#24363: Acknowledgement (Clarify the VM docs)

2016-09-03 Thread Wilfred Hughes
Here's my proposed change as a patch against master, currently cb421b6546ad3e09299462df63c389aa734fdba8. On 4 September 2016 at 01:06, GNU bug Tracking System wrote: > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your me