News for hackers. Stuff that matters.
Re:Ask HN: Know some Good C programming communities? by sigstoat on Sunday April 17, 2022 @07:41PM (#31065636)
what conceivable use could you have for xlib?

you’re going to have ten thousand hard problems related to just CSS. do yourself a favor and at least use a high level cross platform gui library.

Re:Ask HN: Know some Good C programming communities? by leakbang on Sunday April 17, 2022 @08:40PM (#31066032)
The high level GUI toolkits that I looked at (GTK+ and Qt) were very bloated with features that would not come in handy for my use case, and frankly, they were difficult to use. Doing simple tasks in Xlib was simpler. But I did quickly notice a lot of limitations with Xlib such as no transparent pixels which means no Anti aliasing and the lack of ability to load in True type and Open type fonts. I did come across the Xrender library (also by XOrg) but couldn't find any documentation for it. Also doesn't really help that pretty much any documentation for Xlib is dozens of years old. Which (C) GUI libraries do you have in mind?
Re:Ask HN: Know some Good C programming communities? by sigstoat on Wednesday April 20, 2022 @02:39PM (#31101136)
> Also doesn't really help that pretty much any documentation for Xlib is dozens of years old.

it hasn't changed in dozens of years! what do you expect? somebody sitting around refreshing graphical design for docs on a library you shouldn't use, so that people feel better about using it? you shouldn't be using it!

> frankly, they were difficult to use

try making a combo box with Xlib.

> Doing simple tasks in Xlib was simpler

pro-tip: simple tasks are simple. worry about how difficult the difficult tasks will be.

Re:Ask HN: Know some Good C programming communities? by zzo38computer on Monday April 18, 2022 @02:44AM (#31068068)
I agree; I really dislike GTK+. However, you could use Xt and/or Xaw, which are OK in my opinion (although there are no transparent pixels, etc; but if you need them, then you might possibly draw your own stuff in the document area).
Re:Ask HN: Know some Good C programming communities? by leakbang on Monday April 18, 2022 @08:15AM (#31069677)
I'll look into Xt and Xaw. Thanks
Re:Ask HN: Know some Good C programming communities? by chadcmulligan on Monday April 18, 2022 @07:12AM (#31069304)
Re:Ask HN: Know some Good C programming communities? by leakbang on Monday April 18, 2022 @08:14AM (#31069674)
This looks promising. I'll look into it. Thanks +1