Re: dynamic foreign function interface

2010-01-26 Thread Andy Wingo
Yellow, On Tue 26 Jan 2010 23:29, l...@gnu.org (Ludovic Courtès) writes: >> By "dynamic", I mean that you don't have to write C and compile it; you >> can do everything at runtime from Scheme. You use dynamic-func and >> dynamic-link to get the raw function pointer, and make-foreign-function >> t

Re: Deprecate vs. discourage

2010-01-26 Thread Andy Wingo
Hej, On Tue 26 Jan 2010 23:15, l...@gnu.org (Ludovic Courtès) writes: > I think things like ‘uniform-vector-read’ should be discouraged rather > than deprecated, since it matches the definition in ‘discouraged.h’: > >A discouraged feature is one that shouldn't be used in new code >since w

Re: dynamic foreign function interface

2010-01-26 Thread Ludovic Courtès
Hello! Andy Wingo writes: > I just finished up some work to make a dynamic foreign function > interface. This is on the wip-ffi branch. Nice! > By "dynamic", I mean that you don't have to write C and compile it; you > can do everything at runtime from Scheme. You use dynamic-func and > dynamic

Deprecate vs. discourage

2010-01-26 Thread Ludovic Courtès
Hello! I think things like ‘uniform-vector-read’ should be discouraged rather than deprecated, since it matches the definition in ‘discouraged.h’: A discouraged feature is one that shouldn't be used in new code since we have a better alternative now. However, there is nothing wrong with

Web page CSS broken

2010-01-26 Thread Ludovic Courtès
Hello, Somehow the CSS we use must have changed recently and the web page looks ugly now: http://www.gnu.org/software/guile/ . Any takers? :-) Ludo’.

dynamic foreign function interface

2010-01-26 Thread Andy Wingo
Hey all, I just finished up some work to make a dynamic foreign function interface. This is on the wip-ffi branch. By "dynamic", I mean that you don't have to write C and compile it; you can do everything at runtime from Scheme. You use dynamic-func and dynamic-link to get the raw function pointe

Re: r6rs standard libraries

2010-01-26 Thread Andy Wingo
Hi, On Tue 26 Jan 2010 15:35, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo writes: > >> have I managed to convince you that we should have these by >> default? :) > > Well, yes. :-) Rereading my mail I have to apologize for the "hard sell". I do think `library' and `import' in the defau

Re: r6rs standard libraries

2010-01-26 Thread Ludovic Courtès
Hello, Andy Wingo writes: [...] > Beyond that, we're just talking about two identifiers. [...] > Yes, the names are a burden on the namespace, but I don't think they're > "creeping", in the sense that they will expand in the future. > > If you're dead-set against r6rs support by default, that

Re: r6rs standard libraries

2010-01-26 Thread Andy Wingo
Greets, On Mon 25 Jan 2010 18:37, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo writes: > >> On Sun 24 Jan 2010 18:53, Julian Graham writes: >> >>> One point that may be of interest is that I've chosen to provide the >>> code in the form of R6RS libraries rather than Guile modules. > > Th

Re: struct optimizations

2010-01-26 Thread Andy Wingo
Hi Ludo, On Tue 26 Jan 2010 00:13, l...@gnu.org (Ludovic Courtès) writes: >> It seems that currently SIMPLE is for all pr *or* all pw slots. > > Fixed: Cool :) >> Then perhaps we can change SIMPLE_RW to be MUTABLE or something, to >> indicate that all slots of this object are mutable. > > I end