request: libguile to wrap getsid(2)

2009-12-26 Thread Thien-Thi Nguyen
I've just about finished porting ratpoison (a CVS snapshot prior to its author's abandoning it in favor of stumpwm) to Guile (1.4.x) scheme. This means no more Xlib (et al)! However, the last bit of C glue (outside of ttn-do) it needs is getsid(2). Here is the Guile 1.4.x-flavored wrapping: GH_

typo in guile doc?

2009-12-26 Thread Chengqi Song
http://www.gnu.org/software/guile/manual/html_node/Garbage-Collection.html#Garbage-Collection 4th paragraph of "4.3.2 Garbage Collection": "You do this when writing a SMOB mark function, for example (see Garbage Collecting Smobs). By calling this function, the garbage collector learns about all

why guile is so slow?

2009-12-26 Thread Chengqi Song
the reference is here: http://www.littlewingpinball.com/contents/en/ypsilon_1g.html just for your reference lars

Re: why guile is so slow?

2009-12-26 Thread dsmich
Chengqi Song wrote: > the reference is here: > http://www.littlewingpinball.com/contents/en/ypsilon_1g.html > > just for your reference > > lars > Why? "System information: Guile 1.8.3 " Guile 1.8 and earlier is an interpreter. 2.0 (and the current 1.9.x) compiles to a vm a

Re: About the primitive macros `and' and `or'

2009-12-26 Thread Keith Wright
> From: Yi DAI > > I don't see the point why Scheme provides the general > `and' and `or' as primitive macros (which does stand > in our way when we wanna (apply and things) instead > of primitive procedures. For efficiency? This suggestion was thought of and rejected dozens of times before you