[Xcb] beginning

Barton C Massey bart at cs.pdx.edu
Tue May 9 17:04:45 PDT 2006


XCB is actually quite easy to install if you carefully
follow the instructions on the wiki.

Don't build bindings to Xlib, please---we're removing it
from the world as fast as we can.  Either bind to XCB, or
hack up XCB's XML X protocol description based code
generator to generate an O'Caml binding automatically.

   Bart

In message <200605091931.11763.fmonnier at linux-nantes.fr.eu.org> you wrote:
> >                                                          However, if you
> > eventually want to work with the raw X protocol, XCB is a much better
> > choice than Xlib.
> 
> It seems much harder to install too  :p  ;-)
> However, I would like to install it since I've started to try to make the very 
> early alpha beginning of a binding of the xlib for OCaml,
> http://www.linux-nantes.org/~fmonnier/OCaml/Xlib/doc/X.html
> http://www.linux-nantes.org/~fmonnier/OCaml/Xlib/
> OCaml is designed to be high level, efficient and _safe_, and the problem when 
> mixing OCaml and C code is that the safety is compromised by the C part, and 
> I've read that you work on the formally aspect with the XCB, which I guess a 
> lot of OCaml users would appreciate.
> 
> I don't know if I will succeed the XCB install, so I have a question:
>  what do you think would be the best choice, to bind the xlib for OCaml, or 
> writing an X library in ocaml ?
> 
> 
> ++ Best Regards, Florent
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list