Re: [PATCH] Bindings for ‘sendfile’

2013-04-17 Thread Ludovic Courtès
Thien-Thi Nguyen skribis: > Anyway, i hope Guile grows a ‘sendfile-some’ (or whatever) so that i can > adapt my programs to use it instead of the ttn-do ‘sendfile’: I’m open to the idea. To get a better understanding, do you have examples of real applications where it makes a difference? I.e.,

Re: [PATCH] Bindings for ‘sendfile’

2013-04-17 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Wed, 17 Apr 2013 14:52:40 +0200 concrete cases of recurring short writes? The original application was "ttn-do serve-debiso", which configures "ttn-do sizzweb" to serve debian ISOs (or rather, the various component .deb files and metadata that apt-get reque

Mutable top-level bindings (was: vectors are something else)

2013-04-17 Thread Chris K. Jester-Young
On Mon, Apr 15, 2013 at 10:00:55PM -0400, Mark H Weaver wrote: > Unfortunately, this is rarely possible in a language like Scheme, where > calls to procedures bound by mutable top-level variables are frequent. > We cannot fix this without making most commonly-used top-level bindings > immutable. L

Re: [PATCH] Bindings for ‘sendfile’

2013-04-17 Thread Ludovic Courtès
Thien-Thi Nguyen skribis: > The original application was "ttn-do serve-debiso", which configures > "ttn-do sizzweb" to serve debian ISOs (or rather, the various component > .deb files and metadata that apt-get requests from the loopback-mounted > ISO) over the home network. > > Specifically, proc

Re: Mutable top-level bindings

2013-04-17 Thread Mark H Weaver
Hi Chris, "Chris K. Jester-Young" writes: > On Mon, Apr 15, 2013 at 10:00:55PM -0400, Mark H Weaver wrote: >> Unfortunately, this is rarely possible in a language like Scheme, where >> calls to procedures bound by mutable top-level variables are frequent. >> We cannot fix this without making mos

Re: Mutable top-level bindings

2013-04-17 Thread Ian Price
"Chris K. Jester-Young" writes: > With a proper module system, I don't see why top-level bindings should > be mutable. That would make even things like direct inlining of cons or > + somewhat harder than it needs to be. The way I understand it, the > definition of (@ (guile) cons) or the like sho

Re: lua branch

2013-04-17 Thread Ian Price
Ian Price writes: > The current issues with lua vs master are as follows > 1) has been renamed to on master > 2) has been replaced with which is not quite a drop-in > 3) while was being compiled into something with improper scoping. > > I have fixes for these locally. There is just the questi

Re: [PATCH] Bindings for ‘sendfile’

2013-04-17 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Wed, 17 Apr 2013 18:27:04 +0200 So that was over a PF_INET/SOCK_STREAM socket, right? Yes. FWIW, "ttn-do sizzweb" can also operate over PF_UNIX/SOCK_STREAM and i recall doing some testing (w/ similar results) there. Would it occur systematically, or ju