On mySimon: The Biggest Box Sets
BNET Business Network:
BNET
TechRepublic
ZDNet
TalkBack 22 of 97:
Next »
« Previous
Yes, UNIX has the right philosophy...

One central tenet of Unix is that every device is treated as a sequential stream of bytes.


This is a tremendously useful approach. There are no obscure, low-level, API's. No NDIS, no Win32 kernel hackery. If you want to access a device (say a tapedrive or a sound card), you just open a file. It's so simple it's brilliant! This makes life for app developers who consume these device services sooooooo much easier than mucking with an API. BTW - there are "character" devices which are streams and there are "block" devices that can be accessed radomly.


However, in practice we often want to access devices randomly.


Really? You want to access a sound stream randomly? We're talking about devices here. You never want to seek randomly though a soundcard... That doesn't even make sense. You just send a stream of sound data to the sound card (which is a file - /dev/dsp to be exact).


It was possible to map exactly where a character would appear on the screen. I think we can agree that all end user programs require this kind of approach. Yet if you want to address the terminal randomly in this way in Unix there is no standard way of doing it. Every program has to do this itself (vi being a case in point).


Incorrect. Look up the ncurses library. Random access to the terminal is easy and done often by many apps.


With data the matter of random access becomes even more pressing and in particular random access that takes account of the logical rather than physical structure of the data. Again Unix offers no support in this area.


Really? So when I open a file in random mode on UNIX, it's just my imagination? Dude, get it through your head - UNIX has supported random access since its inception. If you're talking about pipes, then yes they are sequencial. Look up "shared memory" sometime and get your facts straight.


It thus seems to me that the systems software is actually more "open" than the operating systems it sits on top of.


A compatible protocol between platforms does mitigate the major compatabily problems, but consider the fact that Oracle had to re-write their database software for VMS, Windows, and UNIX. Note that the Oracle code base for the UNIX version can be recompiled for Solaris, Linux, AIX, HP-UX, and others *NIX with little or no changes. The Windows version however requires major changes and wacky inconsistent code.


Having used Unix for a number of years I still think that the main reasons for its success are its portability and its cheapness, rather than any inherent qualities of the operating system itself.


I disagree. Having used Windows and UNIX for years (and yes, I DO have my MCSE), I think that there is a major simplicity dividend you gain with UNIX. UNIX is simple. Everything is a file. The kernel is simple. Permissions are simple. Managing processes is simple. Scheduling tasks is simple. Writing shell scripts is simple (it's just like using the shell directly) -- thus automating tasks is simple.

Due to the simplistic nature there are other bennefits:
* It's easier to keep secure. There are fewer moving parts. There isn't a process I can't kill, nor a port I can't lock down. In Windows, there are services and ports that can NEVER be turned off.
* It's easier to optimize.
* It's easier to develop apps for: Shell, Perl, Python, Java, C/C++. There are many options. It's a developers paradise.
* I actually has an optimistic locking file system. When one file is opened by an app, you can still read that file from another app. Try opening an Excel spreadsheet on Windows twice.

I could seriously go on and on and on, but I'll keep this post short.

UNIX/Linux is a great platform, and in my optinion, far superior to Windows -- especially as a server.

-Bryan
Posted by: prime21   Posted on: 07/27/05 You are currently: a Guest | Members login | Terms of Use

Alert moderator to an offensive message

Subscribe to this discussion via Email or RSS

Darn tootin'  Linux User 147560 | 07/27/05
RE: Darn Tootin'  Monkey_MCSE | 07/27/05
ZDNet is blatantly pro-MS, anti-everything else  NonZealot | 07/27/05
I Equate ZDNet To Reading The Enquirer  itanalyst | 07/27/05
the facts are in the fud on these forums, the rest is zdnet articles :P  linuxoverwindows | 07/28/05
Are you insane? ADNet is Anti-MS all they way!  John Zern | 07/27/05
Like many other sites, ZDNET is sponsored by Microsoft  IT-sys | 07/27/05
Yes, it is true that Windows is the one that is not compatible.  DonnieBoy | 07/27/05
Nope  Loverock Davidson | 07/27/05
OMG!  Roger Ramjet | 07/27/05
Time to check the phase of the moon (NT)  Loverock Davidson | 07/27/05
majority of OS's are unix  dwjunix | 07/27/05
While I agree with your basic point  Sxooter_z | 07/27/05
Can't find a file? Oh please.  hulse_kevin | 07/27/05
actually...  linuxoverwindows | 07/28/05
Nope, nope...  horusfalcon | 07/29/05
But does Unix have the right philosophy?  jorwell | 07/27/05
there is/was that cursed curses thing...  murph_z ZDNet Moderator | 07/27/05
I might be wrong but  jorwell | 07/27/05
Memory Mapped IO; direct cursor addressing  mggordon | 07/27/05
you do know that...  linuxoverwindows | 07/28/05
Yes, UNIX has the right philosophy...  prime21 | 07/27/05
Very nice!  Yen_z | 07/27/05
questions  toadlife | 07/27/05
things that won't die & big ears..  thirtyeast | 07/27/05
So You Think The Recycle Bin Is It?  PMC-CON | 07/28/05
*Yawn*  toadlife | 07/28/05
Windows explorer is IE  voska | 07/28/05
yeah...  linuxoverwindows | 07/28/05
Kill doesn't kill every process  voska | 07/28/05
process-exporer is weak!  toadlife | 07/28/05
I specifically said I wasn't comparing Windows and Unix  jorwell | 07/28/05
one drawback of everything being a stream  woot! | 07/28/05
A few curses  jorwell | 07/29/05
Seems that Macintosh  In_the_end_I_Win | 07/29/05
Unix cheap?  nomorems | 07/27/05
Unix is cheap for the manufacturers  jorwell | 07/28/05
how can you...  linuxoverwindows | 07/28/05
apple isn't expensive  dwjunix | 07/28/05
The unity of Unix  Loverock Davidson | 07/27/05
The article is still pretty solid though...  nucrash | 07/27/05
Thanks - and the key research started in the mid fifties  murph_z ZDNet Moderator | 07/27/05
Can you provide links  nucrash | 07/27/05
NT was not brand new  Richard Flude | 07/27/05
Money over progress  jorwell | 07/27/05
Maybe you took it wrong  DemonX | 07/27/05
More Gates as Edison drivel.  hulse_kevin | 07/27/05
More Internet is Driver Drivel  PMC-CON | 07/27/05
Rebuttal  Roger Ramjet | 07/27/05
Flames Originate (for me) in Sun's Lies  PMC-CON | 07/27/05
Sorry to hear that  Roger Ramjet | 07/28/05
How about self-righteousness.  Anton Philidor | 07/28/05
Interesting take  Roger Ramjet | 07/28/05
you got it right  zzz1234567890 | 07/27/05
OS snobs  auto.master | 07/27/05
I agree  Otto_Delete | 07/27/05
Re: OS snobs  none none | 07/27/05
Better OS can built.  Wagadonga | 07/27/05
no perfect OS  dwjunix | 07/27/05
Microsoft has no interest in peaceful co-existence.  hulse_kevin | 07/27/05
Linux desktop inadequacy  Yagotta B. Kidding | 07/27/05
Hidden Content Removal Tool  PMC-CON | 07/27/05
Not the same thing  Yagotta B. Kidding | 07/27/05
Really?  Richard Flude | 07/27/05
The timeline in the article stopped at least ten years ago.  Anton Philidor | 07/27/05
No, I don't agree  murph_z ZDNet Moderator | 07/27/05
Software quality.  Anton Philidor | 07/27/05
Astute observation  Roger Ramjet | 07/27/05
Right on!  murph_z ZDNet Moderator | 07/27/05
The "rich client experience" is the show.  Anton Philidor | 07/27/05
The power of genuine control.  hulse_kevin | 07/27/05
Two different views.  Anton Philidor | 07/27/05
How do you figure....  nucrash | 07/27/05
Remember the complaints about "IBM Linux"...  Anton Philidor | 07/27/05
Freedom of speech  IT_User | 07/27/05
Red Hat?  Yagotta B. Kidding | 07/27/05
Two basic OS designs exist today  toadlife | 07/27/05
What about AS/400?  jorwell | 07/28/05
Yeah there are others  toadlife | 07/28/05
Successful in the marketplace  jorwell | 08/02/05
Quite correct  Boot_Agnostic | 08/02/05
Not quite  jorwell | 08/03/05
How about the security of Windows?  aquasys | 07/27/05
Have to laugh at many of you here...  John Zern | 07/27/05
Easy.. or not.. experts say..  thirtyeast | 07/27/05
There are gppd amd bad admins  Boot_Agnostic | 07/31/05
Was there a purpose to this limited history lesson?  No_Ax_to_Grind | 07/27/05
Message has been deleted.  roaming_z | 07/28/05
Purpose  Roger Ramjet | 07/28/05
Linux is not Unix(tm)  amclaren | 07/28/05
Linux is a Unix clone  moonlitfire | 07/30/05
RE: Linux is a Unix clone  amclaren | 07/30/05
RE: Linux is a Unix clone  cbradshaw@... | 08/03/05
Linux is a Unix clone  moonlitfire | 08/11/05
UNIX is much more unified  michael_t | 08/01/05
Unix and Linux  tecpar | 08/02/05
RE: The unity of Unix  kinge | 09/27/07

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors