Why I love D: interfacing with XCB

Adam D Ruppe destructionator at gmail.com
Wed Apr 6 19:10:36 UTC 2022


On Wednesday, 6 April 2022 at 18:42:42 UTC, H. S. Teoh wrote:
> The original core library is Xlib, which is still in widespread 
> use but is dated and suffers from a variety of issues.

Those alleged issues are pretty overblown. My biggest sadness 
with it is it assumes i/o failures are fatal, but you can kinda 
hack around that by throwing a D exception from the handler lol.

> One such pain area is keyboard handling.  Won't get into the 
> dirty details here, but if anybody's interested, just ask. ;-) 
> (I *did* manage to get rudimentary keyboard handling without 
> touching Xlib at all.)

keyboard handling is kinda inherently messy


More information about the Digitalmars-d mailing list