This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

guile-xlib version 0.1


I've started writing a set of Xlib bindings for Guile.  There's a
project entry on the new projects page at
http://www.glug.org/projects/index.html, or you can go straight to my
Guile page at http://www.ossau.uklinux.net/index.htm.

Why have I started from scratch rather than from the bindings in xscm?

(1) Because the Xlib bindings in xscm are a rather limited set chosen
    to permit a basic implementation of higher-level Xaw and Xt
    function.

(2) Because I actually find the Guile C interface very pleasant to
    write code for (kudos to all those who have been and are
    continually improving it!), and significantly nicer than the SCM C
    interface.

(3) Because there are interesting issues to do with garbage collection
    and representation of X resources on the Scheme level than I want
    to address in my own way.

Why have I not used SWIG?  Simply because it's a 5Mb download and I
didn't want to wait.

Why Xlib at all, rather than GDK?  A certain minimalism, I guess, and
I've always enjoyed playing with the X event loop in C - it's way
cooler in Scheme!  Also I have an Xlib-based 2D graphing program that
I want to port to Guile.  (But don't hold your breath just yet!)

Comments, contributions and bug-fixes are welcome.

     Neil

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]