Re: why guile is so slow?

2009-12-27 Thread Chengqi Song
thanks but this package does not compile now. "scm_tc7_svect" undeclared. lars On Sun, 27 Dec 2009, Neil Jerram wrote: > Chengqi Song writes: > > > Thanks to Neil, > > > > Is there any binding to xlib? or easier way to generate a xlib binding? > > thanks. > > Yes, guile-xlib. (Written by me

Re: request: libguile to wrap getsid(2)

2009-12-27 Thread Ken Raeburn
On Dec 27, 2009, at 17:58, Thien-Thi Nguyen wrote: Can you point to a specific 1.4.x commit, to help with any extra bits that are needed, e.g. anything in configure.ac? No 1.4.x commit yet but i plan to do w/o configure checks since getsid(2) is POSIX.1-2001. And what about Windows? Ken

Re: request: libguile to wrap getsid(2)

2009-12-27 Thread Linas Vepstas
2009/12/27 Thien-Thi Nguyen : > As years go by, i have come to venerate old code per se less and > less. Heh. As the years go by, I have come to venerate any code, old or new, less and less. It's always broken, and never actually does what you want, anyways. >  I think it would be cool to write

Re: request: libguile to wrap getsid(2)

2009-12-27 Thread Thien-Thi Nguyen
() Neil Jerram () Sun, 27 Dec 2009 18:21:12 + It's in our Git repo now. Wow, fast! thi

Re: request: libguile to wrap getsid(2)

2009-12-27 Thread Thien-Thi Nguyen
() Neil Jerram () Sun, 27 Dec 2009 12:46:39 + Cool. (I like ratpoison, and I wasn't aware it had been abandoned. A Guile-enabled ratpoison would be great.) Perhaps i should have distiguished what was abandoned: the C code, the body. Its spirit lives in stumpwm (Common Lisp). Anyway

Re: request: libguile to wrap getsid(2)

2009-12-27 Thread Neil Jerram
Neil Jerram writes: > Thien-Thi Nguyen writes: > >> However, the last bit of C glue (outside of ttn-do) it needs is getsid(2). > > No problem, I'll add this. It's in our Git repo now. Regards, Neil

Re: why guile is so slow?

2009-12-27 Thread Neil Jerram
Chengqi Song writes: > Thanks to Neil, > > Is there any binding to xlib? or easier way to generate a xlib binding? > thanks. Yes, guile-xlib. (Written by me, and maintained for a while by Thien-Thi Nguyen.) It is not a complete Xlib binding, it only has some core functions. But I think it w

Re: why guile is so slow?

2009-12-27 Thread Chengqi Song
Thanks to Neil, Is there any binding to xlib? or easier way to generate a xlib binding? thanks. lars On Sun, 27 Dec 2009, Neil Jerram wrote: > Chengqi Song writes: > > > Guile 1.9.6 improves speed a lot > > That is good news! > > > however guile-gtk can not be compiled anymore. Is there an

Re: why guile is so slow?

2009-12-27 Thread Neil Jerram
Chengqi Song writes: > Guile 1.9.6 improves speed a lot That is good news! > however guile-gtk can not be compiled anymore. Is there any gtk > binding for guile 1.9.x? No, guile-gtk is unmaintained now, so hasn't been updated for Guile 1.9.x. Please take a look at guile-gnome instead. guile-

Re: typo in guile doc?

2009-12-27 Thread Neil Jerram
Thien-Thi Nguyen writes: > () Chengqi Song > () Sun, 27 Dec 2009 07:22:50 +0800 > >"By calling this function, the garbage collector learns >about all references that your SMOB has to other SCM values." > >what is "has to other SCM values"? is it a typo? > > Perhaps that object contai

Re: request: libguile to wrap getsid(2)

2009-12-27 Thread Neil Jerram
Thien-Thi Nguyen writes: > 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)! Cool. (I like ratpoison, and I wasn't aware it had been abandoned. A Guile-enabled ratpoi

Re: why guile is so slow?

2009-12-27 Thread Chengqi Song
Guile 1.9.6 improves speed a lot however guile-gtk can not be compiled anymore. Is there any gtk binding for guile 1.9.x? guile-gtk.c:31:22: error: guile/gh.h: No such file or directory make: *** [guile-gtk.x] Error 1 ==> ERROR: Build Failed. lars On Sat, 26 Dec 2009, dsm...@roadrunner

Re: why guile is so slow?

2009-12-27 Thread Chengqi Song
great, I have guile-devel installed on my arch and now the result is very close to ypsilon. lars On Sat, 26 Dec 2009, dsm...@roadrunner.com wrote: > > Chengqi Song wrote: > > the reference is here: > > http://www.littlewingpinball.com/contents/en/ypsilon_1g.html > > > > just for your re

Re: typo in guile doc?

2009-12-27 Thread Thien-Thi Nguyen
() Chengqi Song () Sun, 27 Dec 2009 07:22:50 +0800 "By calling this function, the garbage collector learns about all references that your SMOB has to other SCM values." what is "has to other SCM values"? is it a typo? Perhaps that object contains (points to, references) other sub-objec