Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

Has UNIX Programming Changed in 20 Years?

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
With the publication of Advanced UNIX Programming, Second Edition, Marc Rochkind takes a look at what has changed in the 20 years since he wrote the first edition.

When I wrote the first edition of Advanced UNIX Programming in 1984, UNIX was already 15 years old. I've just finished the second edition, and another 20 years have passed. It's interesting to ask, how has UNIX Programming changed since 1984? Well, some things are pretty much the same, and, of course, a lot is different.

The Fundamentals Are Mostly Unchanged

What's the same is that UNIX still works in essentially the same way. Processes are created with fork, the program the process runs is chosen by one of the exec calls, you open a file with open, and so on. Many—perhaps most—serious UNIX programs access the Internet nowadays, and those system calls (socket, connect, and so on) are also nearly unchanged since they were introduced in BSD UNIX in the 1980s. Even the primary implementation language, C, is largely unchanged, although it has grown up: Its standard has been revised a few times, and everybody now codes with function prototypes and without assuming anything about the size of integers and pointers.

In fact, as I prepared for the second edition of the book, I discovered that the book's 1984 example code still worked, although the GCC compiler complained a lot about the primitive form of C in which those programs were written.

  • Share ThisShare This
  • Save To Your Account

Discussions

comments powered by Disqus

Related Resources

What Apple and Every Apple Support Professional Must Do
By on April 14, 2012Comments

The Flashback attack is a sign of more to come.  Are you prepared to see your Apple computer (or those you support) as functional UNIX devices that require special skills?


Flashbacks On Your Mac?
By on April 9, 2012Comments
Unless you live under a rock, by now, you should have learned about the Flashback trojan that has compromised over 600,000 Apple computers.

Care to learn what you can do?  Read on...


Commodities
By on March 7, 2012Comments

What are the security implications of Operating Systems being reduced to container commodities that live to give applications life support?


See All Related Blogs