[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Book questions

On Mon, 13 Apr 2015 16:36:44 -0500
David Wright <deblis@lionunicorn.co.uk> wrote:
> Quoting Petter Adsen (petter@synth.no):
> > On Mon, 13 Apr 2015 20:21:49 +0300
> > Reco <recoverym4n@gmail.com> wrote:
> > > Let's see as I didn't have OS design in mind. Something like:
> > > 
> > > Exit codes and their value in real life.
> > > Strings handling, memory allocation.
> > > Process control and daemonisation (sp?).
> > > Signal handling.
> > > Inter-process communication (sockets, pipes).
> > > IP protocol use and abuse.
> > > Shared memory.
> > > Threads.
> > > Libraries and their usage.
> > 
> > Just to pipe in here, these are among the things that I want an
> > understanding of - especially numbers 3, 4, 5, 6 and 9. With extra
> > focus on 9 and 6b :) Also things like communication between
> > processes and devices, file systems, etc. I want to learn how to
> > find out why things work the way they do, if that makes sense.
> If you want to understand the basics, there is any number of tutorials
> on the web. If you want to play with them, then pick a language and go
> to a web page like https://docs.python.org/3/library/index.html
> and write some toy programs. Most of these facilities have wrappers
> that save you having to write C code to create, say, a couple of
> sockets that talk to each other. If you try this in C and it doesn't
> work, it might take you half a day to decide whether you've
> misunderstood the socket concept or just made a programming error.

I can understand that.

> As Reco said,
> > > [...], and for the complex program you'll probably want
> > > something else as by today's standards C has poor result/effort
> > > ratio.

That I can also accept. I see that a lot of people advice me on going
with something other than C, and I can understand that there are good
reasons for this advice. While I still want to learn C at some point,
I'm beginning to think that it might be wise to consider getting a good
foundation in another language first.

Would Python be appropriate? I see a lot of software these days that is
written in Python, so it would be helpful in that way. The person I am
most likely to go to for help knows Python, so that's a bonus. And on
the subject of books, what would be a good introduction?


"I'm ionized"
"Are you sure?"
"I'm positive."

Attachment: pgpX4R9jzv2Zt.pgp
Description: OpenPGP digital signature

Reply to: