Follow

food service? no thanks. I need to practice my C skills

also does anyone have good resources on learning about UNIX file descriptors, sockets, and device files?

@beegrrl

For learning the lower level stuff in unix I found working with it at a high level first made it easier to understand. I tried getting into beej's guide to network programming, but the C parts were too dense. I ended learning Go and it provides abstractions that are easy to work with while being close to the underlying implementation. I recommend looking at Go's os and net packages. The source code is really helpful for understanding what's going on at a lower level.

@beegrrl

For device files, I think (but never really looked into it) tldp is okay. tldp.org/LDP/sag/html/dev-fs.h

Of course, the ultimate source for learning how some of these things could be implemented is to look at a real implementation, and by that I mean the linux source code. disclaimer: I've never looked at it for very long, usually a response to stack overflow or something like that.

Sign in to participate in the conversation
Radical Town

A cool and chill place for cool and chill people.