Programming book recommendations. - Programming On Unix
phillbush
(07-05-2020, 10:42 PM)phillbush Wrote: Do you guys know good books for programming in Xlib?

I have just found the book Low Level X Window Programming: An Introduction by Examples, by Ross J. Maloney.
Different of the other books on Xlib that throw the routines expecting the reader to put them together and understand how them connect to each other (an approach not that different from learning just by reading man pages), this book explains the routines as it provides examples, in the same style of K&R's The C Programming Language (but less elegantly).
I am reading it RN.

(08-05-2020, 07:34 PM)twee Wrote: It's quite old but the Unix Programming Environment was one I found fascinating, and it got me into Roff which I'm thankful for.

I've read it last month, and I created a thread here about the author's comments on echo(1).
It is indeed an excellent book, although not that recent.
It says stuff that does not work anymore (like open(2)ing directories) and some command line utilities that doesn't exist anymore, like teach(1), learn(1) and news(1).
The trickiest part of reading it is converting the old K&R C into modern C.

This book also got me into troff, and also into yacc(1) and lex(1).

(08-05-2020, 07:34 PM)twee Wrote: I'd be interested to be read more about compilers. What are your recommended introductory texts, or is the dragon book the way to go?

The books by Aho, basically, which includes the Dragon book.
Also, check the bibliography on the back of the Chapter 8 of The UNIX Programming Environment (the chapter on yacc).
sth
i've been working my way through Practical Common Lisp over the last week or so. slow going but i'm not much of a 'programmer' so i'm trying to take my time with it.
ckester
(08-05-2020, 03:25 AM)z3bra Wrote: I used Chris Tronche documentation a lot while learning XCB (and still do). It helped me with all my XCB projects as well (https://git.z3bra.org/glazier, https://git.z3bra.org/xmenu, https://git.z3bra.org/libwm).

I'm not familiar with Chris Tronche's work. Can you provide a link?
ckester
(08-05-2020, 08:46 PM)phillbush Wrote: I have just found the book Low Level X Window Programming: An Introduction by Examples, by Ross J. Maloney.
Different of the other books on Xlib that throw the routines expecting the reader to put them together and understand how them connect to each other (an approach not that different from learning just by reading man pages), this book explains the routines as it provides examples, in the same style of K&R's The C Programming Language (but less elegantly).
I am reading it RN.

I saw that one when I looked on Amazon in response to your query, but couldn't vouch for it myself. Let us know what you think after you've read it!
z3bra
Sorry I wanted to make it a link, but forgot to xdo so: https://tronche.com/gui/x/xlib/
wolf
I really liked the "21st Century C". Ben Klemens really has a comic style when writing, without lose the technical aspects of the book purpose.
ckester
+1 for 21st Century C.
phillbush
(08-05-2020, 09:50 PM)sth Wrote: i've been working my way through Practical Common Lisp over the last week or so. slow going but i'm not much of a 'programmer' so i'm trying to take my time with it.

If you know C and want to learn Lisp, you may be interested in Build Your Own Lisp, where you create a lisp dialect in C.




Members  |  Stats  |  Night Mode