3 ms·
If you do ever return to the idea of generating the X11 protocol code, you might find https://github.com/tonyg/xcb-shim https://github.com/tonyg/xcb-shim intere
by tonyg 3y ago
If you do ever return to the idea of generating the X11 protocol code, you might find https://github.com/tonyg/xcb-shim https://github.com/tonyg/xcb-shim interesting. I wrote it to simplify X11 implementation generally. I've used it just once, so far, though, to build a Squeak Smalltalk native X11 protocol implementation.
- vidarh 3y agoThat's really useful, thank you. I have been considering massaging the Ruby version into a different structure as while the current one is fairly nice in some respects (such as providing support for both parsing and generating both "sides" of the protocol, entertaining my delusion of possible writing an X server), it also could definitely be faster and smaller...
- tonyg 3y agoDo get in touch if you do pick this up again, I'd be interested in collaborating or at least keeping track of how it goes; it was a bit lonely figuring out how to do X for Squeak in a vacuum :-)